home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #2 / Amiga Plus CD - 1995 - No. 2.iso / internet / faq / englisch / afs-distributed_filesystem < prev    next >
Encoding:
Text File  |  1995-04-11  |  96.6 KB  |  2,296 lines

  1. Archive-name: afs-faq
  2. Version: 1.98
  3. Last-modified: 1325 GMT Wednesday 18th January 1995
  4.  
  5. AFS frequently asked questions
  6. ______________________________________________________________________________
  7.  
  8.    This posting contains answers to frequently asked questions about AFS.
  9.    Your comments and contributions are welcome (email: mpb@acm.org)
  10.  
  11.    Most newsreaders can skip from topic to topic with control-G.
  12.    Anon. ftp source: <ftp://grand.central.org/pub/afs-contrib/doc/faq/afs.faq>
  13. ______________________________________________________________________________
  14. Subject: Table of contents:
  15.  
  16.    0  Preamble
  17.       0.01  Purpose and Audience
  18.       0.02  Acknowledgements
  19.       0.03  Disclaimer
  20.       0.04  Release Notes
  21.       0.05  Quote
  22.  
  23.    1  General
  24.       1.01  What is AFS?
  25.       1.02  Who supplies AFS?
  26.       1.03  What is /afs?
  27.       1.04  What is an AFS cell?
  28.       1.05  What are the benefits of using AFS?
  29.             1.05.a  Cache Manager
  30.             1.05.b  Location independence
  31.             1.05.c  Scalability
  32.             1.05.d  Improved security
  33.             1.05.e  Single systems image (SSI)
  34.             1.05.f  Replicated AFS volumes
  35.             1.05.g  Improved robustness to server crash
  36.             1.05.h  "Easy to use" networking
  37.             1.05.i  Communications protocol
  38.             1.05.j  Improved system management capability
  39.       1.06  Which systems is AFS available for?
  40. U     1.07  What does "ls /afs" display in the Internet AFS filetree?
  41.       1.08  Why does AFS use Kerberos authentication?
  42.       1.09  Does AFS work over protocols other than TCP/IP?
  43.  
  44.    2  Using AFS
  45.       2.01  What are the differences between AFS and a unix filesystem?
  46.       2.02  What is an AFS protection group?
  47.       2.03  What are the AFS defined protection groups?
  48.       2.04  What is an AFS access control list (ACL)?
  49.       2.05  What are the AFS access rights?
  50.       2.06  What is pagsh?
  51.       2.07  Why use a PAG?
  52.       2.08  How can I tell if I have a PAG?
  53.       2.09  Can I still run cron jobs with AFS?
  54.       2.10  How much disk space does a 1 byte file occupy in AFS?
  55.       2.11  Is it possible to specify a user who is external
  56.             to the current AFS cell on an ACL?
  57.       2.12  Are there any problems printing files in /afs?
  58.       2.13  Can I create a fifo (aka named pipe) in /afs?
  59.       2.14  If an AFS server crashes, do I have to reboot my AFS client?
  60.       2.15  Can I use AFS on my diskless workstation?
  61.       2.16  Can I test for AFS tokens from within my program?
  62.  
  63.    3  AFS administration
  64.       3.01  Is there a version of xdm available with AFS authentication?
  65.       3.02  Is there a version of xlock available with AFS authentication?
  66.       3.03  How does AFS compare with NFS?
  67.       3.04  Given that AFS data is location independent, how does
  68.             an AFS client determine which server houses the data
  69.             its user is attempting to access?
  70.       3.05  Which protocols does AFS use?
  71.       3.06  Are setuid programs executable across AFS cell boundaries?
  72.       3.07  How does AFS maintain consistency on read-write files?
  73.       3.08  How can I run daemons with tokens that do not expire?
  74.       3.09  Can I check my user's passwords for security purposes?
  75.       3.10  Is there a way to automatically balance disk usage across
  76.             fileservers?
  77.       3.11  Can I shutdown an AFS fileserver without affecting users?
  78.       3.12  How can I set up mail delivery to users with $HOMEs in AFS?
  79.       3.13  Should I replicate a ReadOnly volume on the same partition
  80.             and server as the ReadWrite volume?
  81.       3.14  Should I start AFS before NFS in /etc/inittab?
  82.       3.15  Will AFS run on a multi-homed fileserver?
  83.       3.16  Can I replicate my user's home directory AFS volumes?
  84.       3.17  Which TCP/IP ports and protocols do I need to enable
  85.             in order to operate AFS through my Internet firewall?
  86.       3.18  What is the Andrew Benchmark?
  87.       3.19  Is there a version of HP VUE login with AFS authentication?
  88.       3.20  How can I list which clients have cached files from a server?
  89.       3.21  Do Backup volumes require as much space as ReadWrite volumes?
  90.  
  91.    4  Getting more information
  92. U     4.01  Is there an anonymous FTP site with AFS information?
  93.       4.02  Which USENET newsgroups discuss AFS?
  94.       4.03  Where can I get training in AFS?
  95. U     4.04  Where can I find AFS resources in World Wide Web (WWW)?
  96.       4.05  Is there a mailing list for AFS topics?
  97.       4.06  Where can I find an archive of info-afs@transarc.com?
  98.       4.07  Where can I find an archive of alt.filesystems.afs?
  99.       4.08  Where can I find AFS related GIFs?
  100.  
  101.    5  About the AFS faq
  102.       5.01  How can I get a copy of the AFS faq?
  103.       5.02  How can I get my question (and answer) into the AFS faq?
  104.       5.03  How can I access the AFS faq via the World Wide Web?
  105.  
  106.    6  Bibliography
  107.  
  108.    7  Change History
  109. ______________________________________________________________________________
  110.  
  111. Subject: 0  Preamble
  112.  
  113. Subject: 0.01  Purpose and audience
  114.  
  115.    The aim of this compilation is to provide information about AFS including:
  116.  
  117.       + A brief introduction
  118.       + Answers to some often asked questions
  119.       + Pointers to further information
  120.  
  121.    Definitive and detailed information on AFS is provided in Transarc's
  122.    AFS manuals ([23], [24], [25]).
  123.  
  124.    The intended audience ranges from people who know little of the subject
  125.    and want to know more to those who have experience with AFS and wish
  126.    to share useful information by contributing to the faq.
  127.  
  128. Subject: 0.02  Acknowledgements
  129.  
  130.    The information presented here has been gleaned from many sources.
  131.    Some material has been directly contributed by people listed below.
  132.  
  133.    I would like to thank the following for contributing:
  134.  
  135.         Pierette Maniago VanRyzin (Transarc)
  136.         Lyle Seaman (Transarc)
  137.         Joseph Jackson (Transarc)
  138.         Dan Lovinger (Carnegie Mellon University)
  139.         Lucien Van Elsen (IBM)
  140.         Jim Rees (University of Michigan)
  141.         Derrick J. Brashear (Carnegie Mellon University)
  142.         Hans-Werner Paulsen (MPI fuer Astrophysik, Garching)
  143.         Margo Hikida (Hewlett Packard)
  144.      Michael Fagan (IBM)
  145.      Robert Malick (National Institute of Health, USA)
  146.         Rainer Toebbicke (European Laboratory for Particle Physics, CERN)
  147.         Mic Bowman (Transarc)
  148.         Mike Prince (IBM)
  149.  
  150.    Thanks also to indirect contributors:
  151.  
  152.         Ken Paquette (IBM)
  153.         Lance Pickup (IBM)
  154.         Lisa Chavez (IBM)
  155.         Dawn E. Johnson (Transarc)
  156.         David Snearline (University of Michigan Engineering)
  157.  
  158.    If this compilation has any merit then much credit belongs to Pierette
  159.    for giving inspiration, support, answers, and proof-reading.
  160.  
  161. Subject: 0.03  Disclaimer
  162.  
  163.    I make no representation about the suitability of this
  164.    information for any purpose.
  165.  
  166.    While every effort is made to keep the information in
  167.    this document accurate and current, it is provided "as is"
  168.    with no warranty expressed or implied.
  169.  
  170. Subject: 0.04  Release Notes
  171.  
  172.    This faq compilation contains material used with permission of
  173.    Transarc Corporation. Permission to copy is given provided any
  174.    copyright notices and acknowledgements are retained.
  175.  
  176.    Column 1 is used to indicate changes from the last issue:
  177.  
  178.       N = new item
  179.       U = updated item
  180.  
  181.    Changes from the last version are to be found at the end of this file.
  182. ______________________________________________________________________________
  183. Subject: 0.05  Quote
  184.  
  185.    "'Tis true; there's magic in the web of it;"         Othello, Act 3 Scene 4
  186.                                              --William Shakespeare (1564-1616)
  187. ______________________________________________________________________________
  188. Subject: 1  General
  189.  
  190. Subject: 1.01  What is AFS?
  191.  
  192.    AFS is a distributed filesystem that enables co-operating hosts
  193.    (clients and servers) to efficiently share filesystem resources
  194.    across both local area and wide area networks.
  195.  
  196.    AFS is marketed, maintained, and extended by Transarc Corporation.
  197.    WWW: <ftp://grand.central.org/afs/transarc.com/public/www/Home.html>
  198.  
  199.    AFS is based on a distributed file system originally developed
  200.    at the Information Technology Center at Carnegie-Mellon University
  201.    that was called the "Andrew File System".
  202.  
  203.    "Andrew" was the name of the research project at CMU - honouring the
  204.    founders of the University.  Once Transarc was formed and AFS became a
  205.    product, the "Andrew" was dropped to indicate that AFS had gone beyond
  206.    the Andrew research project and had become a supported, product quality
  207.    filesystem. However, there were a number of existing cells that rooted
  208.    their filesystem as /afs. At the time, changing the root of the filesystem
  209.    was a non-trivial undertaking. So, to save the early AFS sites from having
  210.    to rename their filesystem, AFS remained as the name and filesystem root.
  211.  
  212. Subject: 1.02  Who supplies AFS?
  213.  
  214.         Transarc Corporation          phone: +1 (412) 338-4400
  215.         The Gulf Tower
  216.         707 Grant Street              fax:   +1 (412) 338-4404
  217.         Pittsburgh
  218.         PA 15219                      email: information@transarc.com
  219.         United States of America             afs-sales@transarc.com
  220.  
  221. Subject: 1.03  What is /afs?
  222.  
  223.    The root of the AFS filetree is /afs. If you execute "ls /afs" you will
  224.    see directories that correspond to AFS cells (see below). These cells
  225.    may be local (on same LAN) or remote (eg halfway around the world).
  226.  
  227.    With AFS you can access all the filesystem space under /afs with commands
  228.    you already use (eg: cd, cp, rm, and so on) provided you have been granted
  229.    permission (see AFS ACL below).
  230.  
  231. Subject: 1.04  What is an AFS cell?
  232.  
  233.    An AFS cell is a collection of servers grouped together administratively
  234.    and presenting a single, cohesive filesystem.  Typically, an AFS cell is
  235.    a set of hosts that use the same Internet domain name. 
  236.  
  237.    Normally, a variation of the domain name is used as the AFS cell name.
  238.  
  239.    Users log into AFS client workstations which request information and files
  240.    from the cell's servers on behalf of the users.
  241.  
  242. Subject: 1.05  What are the benefits of using AFS?
  243.  
  244.    The main strengths of AFS are its:
  245.  
  246.       + caching facility
  247.       + security features
  248.       + simplicity of addressing
  249.       + scalability
  250.       + communications protocol
  251.  
  252.    Here are some of the advantages of using AFS in more detail:
  253.  
  254. Subject: 1.05.a  Cache Manager
  255.  
  256.    AFS client machines run a Cache Manager process. The Cache Manager
  257.    maintains information about the identities of the users logged into
  258.    the machine, finds and requests data on their behalf, and keeps chunks
  259.    of retrieved files on local disk.
  260.  
  261.    The effect of this is that as soon as a remote file is accessed
  262.    a chunk of that file gets copied to local disk and so subsequent
  263.    accesses (warm reads) are almost as fast as to local disk and
  264.    considerably faster than a cold read (across the network).
  265.  
  266.    Local caching also significantly reduces the amount of network traffic,
  267.    improving performance when a cold read is necessary.
  268.  
  269. Subject: 1.05.b  Location independence
  270.  
  271.    Unlike NFS, which makes use of /etc/filesystems (on a client) to map
  272.    (mount) between a local directory name and a remote filesystem, AFS
  273.    does its mapping (filename to location) at the server. This has the
  274.    tremendous advantage of making the served filespace location independent.
  275.  
  276.    Location independence means that a user does not need to know which
  277.    fileserver holds the file, the user only needs to know the pathname
  278.    of a file. Of course, the user does need to know the name of the
  279.    AFS cell to which the file belongs. Use of the AFS cellname as the
  280.    second part of the pathname (eg: /afs/$AFSCELL/somefile) is helpful
  281.    to distinguish between file namespaces of the local and non-local
  282.    AFS cells.
  283.  
  284.    To understand why such location independence is useful, consider
  285.    having 20 clients and two servers. Let's say you had to move
  286.    a filesystem "/home" from server a to server b.
  287.  
  288.    Using NFS, you would have to change the /etc/filesystems file on 20
  289.    clients and take "/home" off-line while you moved it between servers.
  290.  
  291.    With AFS, you simply move the AFS volume(s) which constitute "/home"
  292.    between the servers. You do this "on-line" while users are actively
  293.    using files in "/home" with no disruption to their work.
  294.  
  295.    (Actually, the AFS equivalent of "/home" would be /afs/$AFSCELL/home
  296.    where $AFSCELL is the AFS cellname.)
  297.  
  298. Subject: 1.05.c  Scalability
  299.  
  300.    With location independence comes scalability. An architectural goal
  301.    of the AFS designers was client/server ratios of 200:1 which has
  302.    been successfully exceeded at some sites.
  303.  
  304.    Transarc do not recommend customers use the 200:1 ratio. A more
  305.    cautious value of 50:1 is expected to be practical in most cases.
  306.    It is certainly possible to work with a ratio somewhere between
  307.    these two values. Exactly what value depends on many factors including:
  308.    number of AFS files, size of AFS files, rate at which changes are made,
  309.    rate at which file are being accessed, speed of servers processor,
  310.    I/O rates, and network bandwidth.
  311.  
  312.    AFS cells can range from the small (1 server/client) to the massive
  313.    (with tens of servers and thousands of clients).
  314.  
  315.    Cells can be dynamic: it is simple to add new fileservers or clients
  316.    and grow the computing resources to meet new user requirements.
  317.  
  318. Subject: 1.05.d  Improved security
  319.  
  320.    Firstly, AFS makes use of Kerberos to authenticate users.
  321.    This improves security for several reasons:
  322.  
  323.      + passwords do not pass across the network in plaintext
  324.  
  325.      + encrypted passwords no longer need to be visible
  326.  
  327.           You don't have to use NIS, aka yellow pages, to distribute
  328.           /etc/passwd - thus "ypcat passwd" can be eliminated.
  329.  
  330.           If you do choose to use NIS, you can replace the password
  331.           field with "X" so the encrypted password is not visible.
  332.           (These issues are discussed in detail in [25]).
  333.  
  334.      + AFS uses mutual authentication - both the service provider
  335.        and service requester prove their identities
  336.  
  337.    Secondly, AFS uses access control lists (ACLs) to enable users to
  338.    restrict access to their own directories.
  339.  
  340. Subject: 1.05.e  Single systems image (SSI)
  341.  
  342.    Establishing the same view of filestore from each client and server
  343.    in a network of systems (that comprise an AFS cell) is an order of
  344.    magnitude simpler with AFS than it is with, say, NFS.
  345.  
  346.    This is useful to do because it enables users to move from workstation
  347.    to workstation and still have the same view of filestore. It also
  348.    simplifies part of the systems management workload.
  349.  
  350.    In addition, because AFS works well over wide area networks the SSI
  351.    is also accessible remotely.
  352.  
  353.    As an example, consider a company with two widespread divisions
  354.    (and two AFS cells): ny.acme.com and sf.acme.com. Mr Fudd, based
  355.    in the New York office, is visiting the San Francisco office.
  356.  
  357.    Mr. Fudd can then use any AFS client workstation in the San Francisco
  358.    office that he can log into (a unprivileged guest account would suffice).
  359.    He could authenticate himself to the ny.acme.com cell and securely access
  360.    his New York filespace.
  361.  
  362.    For example:
  363.  
  364.        The following shows a guest in the sf.acme.com AFS cell:
  365.        {0} add AFS executables directory to PATH
  366.        {1} obtaining a PAG with pagsh command (see 2.06)
  367.        {2} use the klog command to authenticate into the ny.acme.com AFS cell
  368.        {3} making a HOME away from home
  369.        {4} invoking a homely .profile
  370.  
  371.        guest@toontown.sf.acme.com $ PATH=/usr/afsws/bin:$PATH       # {0}
  372.        guest@toontown.sf.acme.com $ pagsh                           # {1}
  373.        $ klog -cell ny.acme.com -principal elmer                    # {2}
  374.        Password:
  375.        $ HOME=/afs/ny.acme.com/user/elmer; export HOME              # {3}
  376.        $ cd
  377.        $ .  .profile                                                # {4}
  378.        you have new mail
  379.        guest@toontown $
  380.  
  381.    It is not necessary for the San Francisco sys admin to give Mr. Fudd
  382.    an AFS account in the sf.acme.com cell.  Mr. Fudd only needs to be
  383.    able to log into an AFS client that is:
  384.       1) on the same network as his cell and
  385.       2) his ny.acme.com cell is mounted in the sf.acme.com cell
  386.          (as would certainly be the case in a company with two cells).
  387.  
  388. Subject: 1.05.f  Replicated AFS volumes
  389.  
  390.    AFS files are stored in structures called Volumes.  These volumes
  391.    reside on the disks of the AFS file server machines.  Volumes containing
  392.    frequently accessed data can be read-only replicated on several servers.
  393.  
  394.    Cache managers (on users client workstations) will make use of replicate
  395.    volumes to load balance.  If accessing data from one replicate copy, and
  396.    that copy becomes unavailable due to server or network problems, AFS will
  397.    automatically start accessing the same data from a different replicate copy.
  398.  
  399.    An AFS client workstation will access the closest volume copy.
  400.    By placing replicate volumes on servers closer to clients (eg on same
  401.    physical LAN) access to those resources is improved and network traffic
  402.    reduced.
  403.  
  404. Subject: 1.05.g  Improved robustness to server crash
  405.  
  406.    The Cache Manager maintains local copies of remotely accessed files.
  407.  
  408.    This is accomplished in the cache by breaking files into chunks
  409.    of up to 64k (default chunk size). So, for a large file, there may be
  410.    several chunks in the cache but a small file will occupy a single chunk
  411.    (which will be only as big as is needed).
  412.  
  413.    A "working set" of files that have been accessed on the client is
  414.    established locally in the client's cache (copied from fileserver(s)).
  415.  
  416.    If a fileserver crashes, the client's locally cached file copies 
  417.    remain readable but updates to cached files fail while the server is down.
  418.  
  419.    Also, if the AFS configuration has included replicated read-only volumes 
  420.    then alternate fileservers can satisfy requests for files from those
  421.    volumes.
  422.  
  423. Subject: 1.05.h  "Easy to use" networking
  424.  
  425.    Accessing remote file resources via the network becomes much simpler
  426.    when using AFS. Users have much less to worry about: want to move
  427.    a file from a remote site? Just copy it to a different part of /afs.
  428.  
  429.    Once you have wide-area AFS in place, you don't have to keep local
  430.    copies of files. Let AFS fetch and cache those files when you need them.
  431.  
  432. Subject: 1.05.i  Communications protocol
  433.  
  434.    AFS communications protocol is optimized for Wide Area Networks.
  435.    Retransmitting only the single bad packet in a batch of packets
  436.    and allowing the number of unacknowledged packets to be higher
  437.    (than in other protocols, see [4]).
  438.  
  439. Subject: 1.05.j  Improved system management capability
  440.  
  441.    Systems administrators are able to make configuration changes
  442.    from any client in the AFS cell (it is not necessary to login
  443.    to a fileserver).
  444.  
  445.    With AFS it is simple to effect changes without having to take
  446.    systems off-line.
  447.  
  448.    Example:
  449.  
  450.    A department (with its own AFS cell) was relocated to another office.
  451.    The cell had several fileservers and many clients.
  452.    How could they move their systems without causing disruption? 
  453.  
  454.    First, the network infrastructure was established to the new location.
  455.    The AFS volumes on one fileserver were migrated to the other fileservers.
  456.    The "freed up" fileserver was moved to the new office and connected
  457.    to the network.
  458.  
  459.    A second fileserver was "freed up" by moving its AFS volumes across
  460.    the network to the first fileserver at the new office. The second
  461.    fileserver was then moved.
  462.    
  463.    This process was repeated until all the fileservers were moved.
  464.  
  465.    All this happened with users on client workstations continuing
  466.    to use the cell's filespace. Unless a user saw a fileserver
  467.    being physically moved (s)he would have no way to tell the change
  468.    had taken place.
  469.  
  470.    Finally, the AFS clients were moved - this was noticed!
  471.  
  472. Subject: 1.06  Which systems is AFS available for?
  473.  
  474.    AFS runs on systems from: HP, Next, DEC, IBM, SUN, and SGI.
  475.  
  476.    Transarc customers have done ports to Crays, and the 3090, but all
  477.    are based on some flavour of unix.  Some customers have done work to
  478.    make AFS data available to PCs and Macs, although they are using
  479.    something similar to the AFS/NFS translator (a system that enables
  480.    "NFS only" clients to NFS mount the AFS filetree /afs).
  481.  
  482.    The following list (current at time of writing) is for AFS version 3.3a
  483.    (check with Transarc for the most up-to-date list).
  484.  
  485.    This information can also be found on grand.central.org:
  486.  
  487.       AFS: /afs/grand.central.org/pub/afsps/doc/SUPPORTED_SYSTEMS.afs.*
  488.       FTP: grand.central.org:/pub/afsps/doc/SUPPORTED_SYSTEMS.afs.*
  489.       WWW: <ftp://grand.central.org/pub/afsps/doc/SUPPORTED_SYSTEMS.afs.rel33a>
  490.  
  491.    System-name     CPU and Operating System
  492.  
  493.    alpha_osf1      Dec Alpha running 1.3
  494.    hp700_ux90      Hewlett Packard 9000 Series 700 running HP-UX 9.0,9.0.1,9.0.3
  495.    hp800_ux90      Hewlett Packard 9000 Series 800 running HP-UX 9.0,9.0.2,9.0.4
  496.    pmax_ul43       DECstation 2100, 3100 or 5000 (single processor) 
  497.                    running Ultrix 4.3
  498.    pmax_ul43a      DECstation 2100, 3100 or 5000 (single processor)
  499.                    running Ultrix 4.3a
  500.    rs_aix32        IBM RS/6000 running AIX 3.2,3.2.1,3.2.2,3.2.3,3.2.4,3.2.5
  501.    sgi_51          Silicon Graphics running IRIX 5.1
  502.    sgi_52          Silicon Graphics running IRIX 5.2
  503.    sun4_411        Sun 4 (EXCEPT SparcStations) running Sun OS 4.1.1, 4.1.2 or 
  504.                    4.1.3
  505.    sun4_52         Sun 4 (EXCEPT SparcStations) running Solaris 2.2
  506.    sun4_53         Sun 4 (EXCEPT SparcStations) running Solaris 2.3
  507.    sun4c_411       Sun SparcStations running Sun OS 4.1.1, 4.1.2 or 4.1.3
  508.    sun4c_52        Sun SparcStations running Solaris 2.2
  509.    sun4c_53        Sun SparcStations running Solaris 2.3
  510.    sun4m_412       Sun SparcServer 600MP running Sun OS 4.1.2/Solaris 1.0, 
  511.                    4.1.3/Solaris 2.1
  512.                    Sun SparcServers running Sun OS 4.1.3_U1
  513.                    Sun SparcServers running Sun OS 4.1.3_U1/Solaris 1.1.1B
  514.    sun4m_52        Sun SparcServer 600MP running Solaris 2.2
  515.    sun4m_53        Sun SparcServer 600MP running Solaris 2.3, SparcClassics
  516.  
  517.    There are also ports of AFS done by customers available from Transarc
  518.    on an "as is" unsupported basis.
  519.  
  520.    More information on this can be found on grand.central.org:
  521.  
  522.       via AFS: /afs/grand.central.org/pub/afs-contrib/bin/README
  523.       via FTP: grand.central.org:/pub/afs-contrib/bin/README
  524.       via WWW: <ftp://grand.central.org/pub/afs-contrib/bin/README>
  525.  
  526.    These ports of AFS client code include:
  527.  
  528.       HP (Apollo) Domain OS - by Jim Rees at the University of Michigan.
  529.       sun386i - by Derek Atkins and Chris Provenzano at MIT.
  530.       Linux - by Derek Atkins
  531.       NetBSD - from MIT
  532.  
  533. Subject: 1.07  What does "ls /afs" display in the Internet AFS filetree?
  534.  
  535.    Essentially this displays the AFS cells that co-operate in the
  536.    Internet AFS filetree.
  537.  
  538.    Note that the output of this will depend on the cell you do it from;
  539.    a given cell may not have all the publicly advertised cells available,
  540.    and it may have some cells that aren't advertised outside of the given site.
  541.  
  542.    The definitive source for this information is:
  543.  
  544.       AFS: /afs/transarc.com/service/etc/CellServDB.export
  545.       WWW: <file:///afs/transarc.com/service/etc/CellServDB.export>
  546.  
  547.    I've included the list of cell names included in it below:
  548.  
  549.    uni-freiburg.de         #Albert-Ludwigs-Universitat Freiburg
  550.    anl.gov                 #Argonne National Laboratory
  551.    bcc.ac.uk               #Bloomsbury Computing Consortium
  552.    bu.edu                  #Boston University
  553.    cs.brown.edu            #Brown University Department of Computer Science
  554.    caspur.it               #CASPUR Inter-University Computing Consortium,Rome
  555.    ciesin.org              #CIESIN
  556.    gg.caltech.edu          #Caltech Computer Graphics Group
  557.    cards.com               #Cards - Electronic Warfare Associates
  558.    cmu.edu                 #Carnegie Mellon University
  559.    andrew.cmu.edu          #Carnegie Mellon University - Campus
  560.    ce.cmu.edu              #Carnegie Mellon University - Civil Eng. Dept.
  561.    club.cc.cmu.edu         #Carnegie Mellon University Computer Club
  562.    cs.cmu.edu              #Carnegie Mellon University - School of Comp. Sci.
  563.    ece.cmu.edu             #Carnegie Mellon University - Elec. Comp. Eng. Dept.
  564.    me.cmu.edu              #Carnegie Mellon University - Mechanical Engineering
  565.    cheme.cmu.edu           #Carnegie Mellon Univ. Chemical Engineering Dept.
  566.    others.chalmers.se      #Chalmers University of Technology - General users
  567.    dia.atd.net             #Dia-bolling
  568.    graphics.cornell.edu    #Cornell University Program of Computer Graphics
  569.    theory.cornell.edu      #Cornell University Theory Center
  570.    msc.cornell.edu         #Cornell University Materials Science Center
  571.    pegasus.cranfield.ac.uk #Cranfield Insitute of Technology
  572.    grand.central.org       #DARPA Central File Server at Transarc
  573.    hrzone.th-darmstadt.de  #TH-Darmstadt
  574.    kiewit.dartmouth.edu    #Dartmouth College, Kiewit
  575.    northstar.dartmouth.edu #Dartmouth College, Project Northstar
  576.    desy.de                 #Deutsches Elektronen-Synchrotron
  577.    ifh.de                  #DESY-IfH Zeuthen
  578.    es.net                  #Energy Sciences Net
  579.    research.ec.org         #Esprit Research Network of Excellence
  580.    cern.ch                 #European Laboratory for Particle Physics, Geneva
  581.    fnal.gov                #Fermi National Acclerator Laboratory
  582.    hepafs1.hep.net         #FNAL HEPNET cell 1
  583.    pub.nsa.hp.com          #HP Cupertino
  584.    palo_alto.hpl.hp.com    #HP Palo Alto
  585.    ctp.se.ibm.com          #IBM/4C, Chalmers, Sweden
  586.    ibm.uk                  #IBM UK, AIX Systems Support Centre
  587.    afs.hursley.ibm.com     #IBM Hursley Laboratories (UK), external cell
  588.    inel.gov                #Idaho National Engineering Lab
  589.    iastate.edu             #Iowa State University
  590.    ipp-garching.mpg.de     #Institut fuer Plasmaphysik
  591.    in2p3.fr                #IN2P3 production cell
  592.    pi.infn.it              #INFN Sezione di Pisa
  593.    sfc.keio.ac.jp          #Keio University, Japan
  594.    cc.keio.ac.jp           #Keio University, Fac. of Sci. & Tech. Computing Ctr
  595.    lrz-muenchen.de         #Leibniz-Rechenzentrum Muenchen Germany
  596.    mpa-garching.mpg.de     #Max-Planck-Institut fuer Astrophysik
  597.    athena.mit.edu          #MIT/Athena cell
  598.    net.mit.edu             #MIT/Network Group cell
  599.    sipb.mit.edu            #MIT/SIPB cell
  600.    media-lab.mit.edu       #MIT/Media Lab cell
  601.    nada.kth.se             #Royal Institute of Technology, NADA
  602.    nersc.gov               #National Energy Research Supercomputer Center
  603.    alw.nih.gov             #National Institutes of Health
  604.    cmf.nrl.navy.mil        #Naval Research Lab
  605.    nrlfs1.nrl.navy.mil     #Naval Research Laboratory
  606.    ncat.edu                #North Carolina Agricultural and Technical State U.
  607.    ctd.ornl.gov            #Computing and Telecommunications Div ORNL
  608.    ri.osf.org              #OSF Research Institute
  609.    gr.osf.org              #OSF Research Institute, Grenoble
  610.    vfl.paramax.com         #Paramax (Unisys) Paoli Research Center
  611.    stars.reston.unisys.com #Paramax (Unisys) - Reston, Va.
  612.    psu.edu                 #Penn State
  613.    pppl.gov                #Princeton Plasma Physics Laboratory
  614.    psc.edu                 #PSC (Pittsburgh Supercomputing Center)
  615.    rwcp.or.jp              #Real World Computer Partnership(rwcp)
  616.    rhrk.uni-kl.de          #Rechenzentrum University of Kaiserslautern
  617.    rus.uni-stuttgart.de    #Rechenzentrum University of Stuttgart
  618.    ihf.uni-stuttgart.de    #University of Stuttgart, Ins. fuer Hochfrequenz-Tec
  619.    mathematik-cip.uni-stuttgart.de # CIP-Pool of Math. Dept, Univ. Stuttgart
  620.    rpi.edu                 #Rensselaer Polytechnic Institute
  621.    rose-hulman.edu         #Rose-Hulman Institute of Technology
  622.    dsg.stanford.edu        #Stanford Univ. - Comp. Sci. - Distributed Systems
  623.    ir.stanford.edu         #Stanford University
  624.    slac.stanford.edu       #Stanford Linear Accelerator Center
  625.    stars.com               #STARS Technology Center - Ballston, Va.
  626.    afs1.scri.fsu.edu       #Supercomputer Computations Research Instit
  627.    ssc.gov                 #Superconducting Supercollider Lab
  628.    ethz.ch                 #Swiss Federal Inst. of Tech. - Zurich, Switzerland
  629.    telos.com               #Telos Systems Group - Chantilly, Va.
  630.    titech.ac.jp            #Tokyo Institute of Technology
  631.    transarc.com            #Transarc Corporation
  632.    tu-chemnitz.de          #Technische Universitaet Chemnitz-Zwickau, Germany
  633.    umr.edu                 #UMR - Missouri's Technological University
  634.    cs.arizona.edu          #University of Arizona - Computer Science Dept.
  635.    ece.ucdavis.edu         #Univ California - Davis campus
  636.    spc.uchicago.edu        #University of Chicago - Social Sciences
  637.    rrz.uni-koeln.de        #University of Cologne -  Reg Comp Center
  638.    meteo.uni-koeln.de      #Univ. of Cologne Inst. for Geophysics & Meteorology
  639.    geo.uni-koeln.de        #Univ. of Cologne Inst. for Geophysics & Meteorology
  640.    urz.uni-heidelberg.de   #Universitaet Heidelberg
  641.    uni-hohenheim.de        #University of Hohenheim
  642.    ncsa.uiuc.edu           #University of Illinois
  643.    urz.uni-magdeburg.de    #Otto-von-Guericke-Universitaet, Magdeburg
  644.    wam.umd.edu             #University of Maryland Network WAM Project
  645.    umich.edu               #University of Michigan - Campus
  646.    sph.umich.edu           #University of Michigan -- School of Public
  647.    citi.umich.edu          #University of Michigan - IFS Development
  648.    dmsv.med.umich.edu      #University of Michigan - DMSV
  649.    lsa.umich.edu           #University of Michigan - LSA College
  650.    math.lsa.umich.edu      #University of Michigan - Math Cell
  651.    cs.unc.edu              #University of North Carolina at Chapel Hill
  652.    nd.edu                  #University of Notre Dame
  653.    pitt.edu                #University of Pittsburgh
  654.    rus-cip.uni-stuttgart.de #RUS Cip-Pool,Rechenzentrum University of Stuttgart
  655.    mathematik.uni-stuttgart.de #University of Stuttgart, Math Dept.
  656.    isi.edu                 #University of Southern California/ISI
  657.    utah.edu                #University of Utah Information Tech. Service
  658.    cs.utah.edu             #University of Utah Computer Science Dept
  659.    cs.washington.edu       #University of Washington Comp Sci Department
  660.    cs.wisc.edu             #University of Wisconsin-Madison, Computer S
  661.    ucop.edu                #University of California Office of the President
  662.    zdvpool.uni-tuebingen.de#Eberhard-Karls-Universitaet Tuebingen, WS-Pools
  663.    afs-math.zib-berlin.de  #Konrad-Zuse-Zentrum fuer Informationstechnik Berlin
  664.    zurich.ibm.ch           #IBM Zurich Internet Cell
  665. N  wu-wien.ac.at           #University of Economics, Vienna, Austria
  666.  
  667.    This shows different and widespread organizations making use
  668.    of the Internet AFS filetree.
  669.  
  670.    Note that it is also possible to use AFS "behind the firewall"
  671.    within the confines of your organization's network - you don't have
  672.    to participate in the Internet AFS filetree.
  673.  
  674.    Indeed, there are lots of benefits of using AFS on a local area network
  675.    without using the WAN capabilities.
  676.  
  677. Subject: 1.08  Why does AFS use Kerberos authentication?
  678.  
  679.    It improves security.
  680.  
  681.    Kerberos uses the idea of a trusted third party to prove identification.
  682.    This is a bit like using a letter of introduction or quoting a referee
  683.    who will vouch for you.
  684.  
  685.    When a user authenticates using the klog command (s)he is prompted
  686.    for a password. If the password is accepted the Kerberos
  687.    Authentication Server (KAS) provides the user with an encrypted token
  688.    (containing a "ticket granting ticket").
  689.  
  690.    From that point on, it is the encrypted token that is used to prove
  691.    the user's identity. These tokens have a limited lifetime (typically
  692.    a day) and are useless when expired.
  693.  
  694.    In AFS, it is possible to authenticate into multiple AFS cells.
  695.    A summary of the current set of tokens held can be displayed
  696.    by using the "tokens" command.
  697.  
  698.    For example:
  699.       elmer@toontown $ tokens
  700.  
  701.       Tokens held by the Cache Manager:
  702.  
  703.       User's (AFS ID 9997) tokens for afs@ny.acme.com [Expires Sep 15 06:50]
  704.       User's (AFS ID 5391) tokens for afs@sf.acme.com [Expires Sep 15 06:48]
  705.          --End of list--
  706.  
  707.    Kerberos improves security because a users's password need only be
  708.    entered once (at klog time).
  709.  
  710.    AFS uses Kerberos to do complex mutual authentication which means that
  711.    both the service requester and the service provider have to prove their
  712.    identities before a service is granted.
  713.  
  714.    Transarc's implementation of Kerberos is slightly different from
  715.    MIT Kerberos V4 but AFS can work with either version.
  716.  
  717.    Joe Jackson of Transarc wrote about this in:
  718.    WWW: <http://www.cs.cmu.edu:8001/afs/andrew.cmu.edu/usr/db74/www/KrbAFS.html>
  719.    (see also: /afs/andrew.cmu.edu/usr/db74/www )
  720.  
  721.    For more detail on this and other Kerberos issues see the faq
  722.    for Kerberos (posted to news.answers and comp.protocols.kerberos) [28].
  723.    (Also, see [15], [16], [26], [27])
  724.  
  725. Subject: 1.09  Does AFS work over protocols other than TCP/IP?
  726.  
  727.    No. AFS was designed to work over TCP/IP.
  728.  
  729. Subject: 2  Using AFS
  730.  
  731. Subject: 2.01  What are the differences between AFS and a unix filesystem?
  732.  
  733.    Essentially, from a user's point of view, there is little difference
  734.    between AFS and local unix filestore. Nearly all the commands normally
  735.    used to access local files can be used to access files in /afs.
  736.  
  737.    In the following set of sections, I have attempted to "target"
  738.    each section to an appropriate type of user by including to the
  739.    right of each section heading one of: User, Programmer, SysAdmin.
  740.    
  741.    Here is a summary of the differences:
  742.  
  743.    Authentication:                                         [ User ]
  744.  
  745.       Before a user can access protected AFS files (s)he needs to become
  746.       authenticated to AFS using the klog command (Kerberos login) to get
  747.       a Kerberos "ticket granting ticket" (called a token from here on).
  748.  
  749.       Without a token, an unauthenticated user is given the AFS identity
  750.       "system:anyuser" and as such is only able to access files in directories
  751.       that have ACLs granting system:anyuser access.
  752.  
  753.       Many systems have the klog function built into the system login program.
  754.       So a user would not even have to know they gain a token on logging in.
  755.       If you use a system where you have to issue the klog command after
  756.       login then you should run the pagsh command first (see below).
  757.  
  758.       AFS provides access control lists to give more precise control
  759.       to users wishing to protect their files (see AFS ACL below).
  760.  
  761.    File permissions:                                       [ User ]
  762.  
  763.       Unix mode bits for group and other are ignored.
  764.       The mode bits for the file owner don't work the way they used to.
  765.  
  766.       Users should protect their AFS files with (directory) ACLs only.
  767.       Just use mode bits to make a file executable.
  768.  
  769.    Data protection with AFS ACLs:                          [ User ]
  770.  
  771.       Some versions of unix (eg IBM's AIX version 3) allow ACLs on
  772.       local files. In AFS, ACLs protect directories and used with
  773.       AFS protection groups (see below) provide a finer granularity
  774.       of protection than can be achieved with basic unix file permissions.
  775.       (AFS ACLs are described in more detail below.)
  776.  
  777.    Protection groups:                                      [ User ]
  778.  
  779.       Users can create and maintain their own protection groups in AFS -
  780.       as opposed to unix where only sys admins can manage protection groups.
  781.  
  782.    Hard links:                                             [ User ]
  783.  
  784.       In AFS, hard links (eg: ln old new) are only valid within a directory.
  785.       This is because AFS ACLs protect directories (not individual files)
  786.       and allowing hard links that span directories would subvert ACL
  787.       protection.
  788.  
  789.       Symbolic links work in AFS because they reference a pathname and
  790.       not an i-node directly. (Hard links reference an i-node directly.)
  791.  
  792.    Changing file protection by moving a file:              [ User ]
  793.  
  794.       Moving a file to a different directory will change the protection
  795.       of a file if the ACL on the new directory if different to the ACL
  796.       on the original directory.
  797.    
  798.    chown and chgrp:                                        [ User ]
  799.  
  800.       Only members of the AFS group "system:administrators" can use these
  801.       commands on files in /afs.
  802.  
  803.    Save on close:                                          [ Programmer ]
  804.  
  805.       AFS Cache Manager does not send file modifications to a file server
  806.       until the close() or fsync() system call.
  807.  
  808.       write() system calls only update the local cache copy on the client.
  809.  
  810.       Note the difference in semantic of writing a file:
  811.       
  812.       local unix file: writes update the file "immediately"
  813.       AFS file:        local cached copy updated "immediately" but
  814.                        the server copy is only updated when the file
  815.                        is closed or fsync'ed.
  816.  
  817.       It is important to understand that most applications (eg: vi, emacs,
  818.       frame, interleaf, wingz, etc) issue the close() system call when
  819.       the user chooses/issues the "save" command in the application.
  820.  
  821.       Users are not required to exit the application to "save" their
  822.       changes back to the server.
  823.  
  824.    byte-range file locking:                                [ Programmer ]
  825.  
  826.       AFS does not support byte-range locking within a file,
  827.       although lockf() and fcntl() calls will return 0 (success).
  828.       The first time a byte-range lock is attempted, AFS will display:
  829.  
  830.       "afs: byte-range lock/unlock ignored; make sure no one else
  831.        else is running this program."
  832.  
  833.    whole file locking:                                     [ Programmer ]
  834.  
  835.       AFS does support advisory locking an entire file with flock().
  836.       Processes on the same client workstation that attempt to lock
  837.       a file obey the proper locking semantics.
  838.  
  839.       Processes on different AFS clients requesting a lock on the same
  840.       file would get EWOULDBLOCK returned.
  841.  
  842.    character and block special files:                      [ SysAdmin ]
  843.  
  844.       AFS does not support character and block special files.
  845.       The mknod command does not create either character or block
  846.       special files in /afs.
  847.  
  848.    AFS version of fsck:                                    [ SysAdmin ]
  849.  
  850.       On an AFS server, the partitions containing served files are NOT
  851.       unix filesystems and standard fsck *must* not be used - use the AFS
  852.       version instead.
  853.  
  854. Subject: 2.02  What is an AFS protection group?
  855.  
  856.    A named list of users.
  857.  
  858.    Group names are used in AFS ACLs to identify lists of users with
  859.    particular access permissions.
  860.  
  861.    In AFS, users can create and maintain their own protection groups.
  862.    This is different to unix where only the system administrator can
  863.    manage /etc/group.
  864.  
  865.    AFS groups are stored in the protection database on fileserver(s)
  866.    and managed by using the "pts" command.
  867.  
  868.    An AFS group typically has the format:
  869.  
  870.        owner-id:group-name
  871.  
  872.    By default, only the owner of a group can change its members.
  873.  
  874.    It is possible to have both users and IP addresses as members
  875.    of an AFS group. By using an IP address like this you can specify
  876.    all the users from the host with that IP address.
  877.  
  878. Subject: 2.03  What are the AFS defined protection groups?
  879.  
  880.    system:anyuser
  881.  
  882.        Everyone who has access to an AFS client in any cell that is
  883.        on the same network as your cell.
  884.  
  885.    system:authuser
  886.  
  887.        Everyone who has access to an AFS client in any cell that is
  888.        on the same network as your cell *and* has valid tokens for
  889.        your cell (ie has been authenticated in your cell).
  890.  
  891.    system:administrators
  892.  
  893.        Users who have privileges to execute some but not all
  894.        system administrator commands.
  895.  
  896. Subject: 2.04  What is an AFS access control list (ACL)?
  897.  
  898.    There is an ACL for every directory in AFS. The ACL specifies
  899.    protection at the directory level (not file level) by listing
  900.    permissions of users and/or groups to a directory. There is a
  901.    maximum of 20 entries on an ACL.
  902.  
  903.    For example:
  904.  
  905.    An AFS ACL is displayed by using the "fs" command as shown below:
  906.  
  907.       tweety@toontown $ fs listacl .
  908.       Access list for . is
  909.       Normal rights:
  910.         fac:coords rlidwka
  911.         system:anyuser rl
  912.  
  913.    This ACL shows that members of the AFS protection group "fac:coords"
  914.    have full access rights to the current directory and "system:anyuser"
  915.    has only read and lookup rights.
  916.  
  917.    The members of "fac:coords" can be determined by accessing the
  918.    protection group database using the "pts" command as shown below:
  919.  
  920.       tweety@toontown $ pts membership fac:coords
  921.       Members of fac:coords (id: -1577) are:
  922.         sylvester
  923.         roadrunner
  924.         yosemite.sam
  925.  
  926. Subject: 2.05  What are the AFS access rights?
  927.  
  928.    In AFS, there are seven access rights that may be set or not set:
  929.  
  930.    lookup          l       Permission to examine the ACL and traverse the
  931.                            directory (needed with most other access rights).
  932.                            Permission to look up filenames in a directory.
  933.    read            r       View the contents of files in the directory
  934.    insert          i       Add new files or sub-directories
  935.    write           w       Modify file contents, use "chmod"
  936.    delete          d       Remove file(s) in directory
  937.    lock            k       Permission for programs to "flock" files
  938.                            in the directory
  939.    administer      a       Ability to change the ACL
  940.  
  941.    There are short-hand forms:
  942.  
  943.    read            rl      read and lookup
  944.    write           rlidwk  all rights except administer
  945.    all             rlidwka
  946.    none                    removes all rights
  947.  
  948. Subject: 2.06  What is pagsh?
  949.  
  950.    A command to get a new shell with a process authentication group (PAG).
  951.  
  952.    This is normally used if your system does not use the AFS version of login.
  953.    It is used to get a PAG prior to running klog.
  954.  
  955.    The PAG uniquely identifies the user to the Cache Manager.
  956.    Without a PAG the Cache Manager uses the unix UID to identify a user.
  957.  
  958. Subject: 2.07  Why use a PAG?
  959.  
  960.    There are two reasons:
  961.  
  962.    a) Child processes inherit the PAG and the Kerberos token so they are AFS
  963.       authenticated.
  964.  
  965.    b) For security: if you don't have a PAG then the Cache Manager identifies
  966.       you by unix UID. Another user with root access to the client could
  967.       su to you and therefore use your token.
  968.  
  969. Subject: 2.08  How can I tell if I have a PAG?
  970.  
  971.    You can tell if you have a PAG by typing "groups". A PAG is indicated
  972.    by the appearance of two integers in the list of groups.
  973.  
  974.    For example:
  975.       sylvester@toontown $ groups
  976.       33536 32533 staff catz
  977.  
  978. Subject: 2.09  Can I still run cron jobs with AFS?
  979.  
  980.    Yes, but remember that in order to fully access files in AFS you have
  981.    to be AFS authenticated. If your cron job doesn't klog then it only
  982.    gets system:anyuser access.
  983.  
  984.    The klog command has a "-pipe" option which will read a password from
  985.    stdin. IF (yes, that's a big if :-) you are prepared to store your
  986.    password in a local (non-AFS) file then you might use the following:
  987.  
  988.       a) create a script to get your AFS token:
  989.  
  990.          #!/bin/sh -
  991.          #
  992.          # NAME      afsgt
  993.          # PURPOSE   Get AFS token by using password stored in a file.
  994.          #           Only need this to run cron jobs that need
  995.          #           authenticated AFS access
  996.          usage() {
  997.                  echo "Usage: afsgt passwordfile" >&2
  998.          }
  999.          if [ -z "${1}" ]; then
  1000.                  echo "afsgt error: need name of password file" >&2
  1001.                  usage
  1002.                  exit 1
  1003.          fi
  1004.          /usr/afsws/bin/klog -pipe < ${1}
  1005.  
  1006.       b) Store your password in a local (non-AFS) file that only you
  1007.          have access to (perhaps: /home/$USER/.p).
  1008.  
  1009.          Make sure that this file is mode 600 and also be sure that
  1010.          you trust whoever has root access on this system and whoever
  1011.          has access to backup tapes! Also, don't forget to change this
  1012.          file if you change your AFS password.
  1013.  
  1014.       c) In your crontab file, run afsgt before whatever task you run.
  1015.  
  1016.          0 6 * * * /usr/local/bin/afsgt /home/$USER/.p; $HOME/bin/6AMdaily
  1017.  
  1018. Subject: 2.10  How much disk space does a 1 byte file occupy in AFS?
  1019.  
  1020.    One kilobyte.
  1021.  
  1022.    Other filesystems allocate different file block sizes.
  1023.    For example, IBM's AIX version 3 journaled file system (JFS)
  1024.    uses 4K blocks (exception: 2K for the 160MB disk drive).
  1025.  
  1026.    Such blocksize differences lead to variations on the amount of
  1027.    disk space required to store files. Copying a directory from AFS
  1028.    to AIX JFS would require more space in JFS because of the block
  1029.    fragmentation.
  1030.  
  1031.    Example:
  1032.  
  1033.    a) Create a one byte file in AFS and use "ls -s" to show how many
  1034.       kilobytes it occupies:
  1035.  
  1036.          ariel@atlantica $ echo z >/afs/dsea/tmp/one.byte.file
  1037.          ariel@atlantica $ ls -s /afs/dsea/tmp/one.byte.file
  1038.             1 /afs/dsea/tmp/one.byte.file
  1039.  
  1040.    b) Create same file in local filesystem (AIX JFS):
  1041.  
  1042.          ariel@atlantica $ echo z >/tmp/one.byte.file
  1043.          ariel@atlantica $ ls -s /tmp/one.byte.file
  1044.             4 /tmp/one.byte.file
  1045.  
  1046. Subject: 2.11  Is it possible to specify a user who is external
  1047.                to the current AFS cell on an ACL?
  1048.  
  1049.    No. You cannot reference a particular user from another AFS cell.
  1050.  
  1051.    You can specify an IP address on the ACL; this means any and all
  1052.    users from the host with that IP address.
  1053.  
  1054.    Another solution to this problem is to give the external user an
  1055.    "authentication-only" account in your AFS cell. This means that
  1056.    (s)he can klog (but has no home directory) in your cell.
  1057.  
  1058.    Cross-realm authentication (where co-operating cells are able to
  1059.    specify remore users as "user@remote.cell" on an ACL) is an *unsupported*
  1060.    feature of AFS 3.3a. That means that Transarc doesn't promise
  1061.    to make it work for you, nor keep it running in future releases.
  1062.  
  1063. Subject: 2.12  Are there any problems printing files in /afs?
  1064.  
  1065.    The issue of printing in AFS is almost always the same: what do you
  1066.    send to the printing daemon?  Do you send it the bytes you want to
  1067.    print or do you just send the file name containing those bytes?  If
  1068.    you send it a file name, you have to be sure that the printing daemon
  1069.    can read it.  Most daemons run with no AFS tokens, so can't access
  1070.    directories unless they are open for system:anyuser read access.
  1071.    Often, printing commands (lpr, lp, enq) have an option that allows
  1072.    for both modes of operation, though the default behavior varies from
  1073.    system to system.  If you're interested in making your daemons
  1074.    authenticate to AFS, check out the example scripts in AFS-Contrib:
  1075.  
  1076.    AFS: /afs/grand.central.org/pub/afs-contrib/tools/reauth-example
  1077.    WWW: <ftp://grand.central.org/pub/afs-contrib/tools/reauth-example/>
  1078.  
  1079.    Another common problem is setuid printing commands.  For instance, the
  1080.    "enq" command runs as root, daemon, or some such user.  If you aren't
  1081.    using the AFS login and simply issue "klog" to get tokens, those
  1082.    tokens are associated with your uid.  When setuid programs run, they
  1083.    lose access to your token and often can't read the file name given as
  1084.    an argument.  The solution in this case is to use "pagsh" before
  1085.    "klog" so that your tokens are transferred to subprocesses
  1086.    automatically by group membership.  This works even if the uid
  1087.    changes, as for setuid programs.
  1088.  
  1089. Subject: 2.13  Can I create a fifo (aka named pipe) in /afs?
  1090.  
  1091.    No. AFS does not support "mknod fifofile p".
  1092.  
  1093. Subject: 2.14  If an AFS server crashes, do I have to reboot my AFS client?
  1094.  
  1095.    No.
  1096.  
  1097.    Typically, if an AFS server becomes unavailable, the AFS Cache Manager on
  1098.    your AFS client will see you through the outage until the server returns.
  1099.    This robustness is dependent on the way your AFS cell has been configured
  1100.    including the following factors:
  1101.  
  1102.       + On the client side:
  1103.          + How big is the cache?
  1104.          + Are the files you need already in the cache?
  1105.  
  1106.       + On the server side:
  1107.          + How many servers? It's best to have a minimum of three.
  1108.          + Is the data you are accessing replicated? In AFS, replicas
  1109.            are ReadOnly copies.
  1110.  
  1111.    With replicated volumes, the AFS Cache Manager knows about all of the
  1112.    servers on which the replicas are located. Therefore, when the Cache
  1113.    Manager accesses a replicated volume, if the RPC times out, the
  1114.    Cache Manager automatically retrys the RPC, using a different file server.
  1115.  
  1116.    If necessary, the Cache Manager will attempt to contact all file servers
  1117.    on which a replica of the volume resides.
  1118.  
  1119.    If you are accessing ReadWrite volumes on a crashed server then you
  1120.    will not be able to save changes back to the server until it returns.
  1121.  
  1122.    You don't need to reboot, and the Cache Manager activity is "invisible"
  1123.    to the user.
  1124.  
  1125. Subject: 2.15  Can I use AFS on my diskless workstation?
  1126.  
  1127.    Yes. The AFS Cache Manager can be configured to work with either
  1128.    a disk based cache or a memory (RAM) based cache. With the latter,
  1129.    you can expect file access from the cache with a whizz!
  1130.  
  1131.    <file:///afs/ibm.uk/common/archive/info-afs@transarc.com/1994/760977848>
  1132.  
  1133. Subject: 2.16  Can I test for AFS tokens from within my program?
  1134.  
  1135.    Yes. Some sample code showing how to do this can be found in:
  1136.        /afs/grand.central.org/pub/afs-contrib/tools/auth-samples/listtokens.c
  1137.  
  1138.    <ftp://grand.central.org/pub/afs-contrib/tools/auth-samples/listtokens.c>
  1139.  
  1140. Subject: 3  AFS administration
  1141.  
  1142. Subject: 3.01  Is there a version of xdm available with AFS authentication?
  1143.  
  1144.    Yes, it can be found in:
  1145.       AFS: /afs/grand.central.org/pub/afs-contrib/tools/xdm
  1146.       WWW: <ftp://grand.central.org/pub/afs-contrib/tools/xdm/>
  1147.  
  1148. Subject: 3.02  Is there a version of xlock available with AFS authentication?
  1149.  
  1150.    Yes, grand.central.org:pub/afs-contrib/tools/xlock/*
  1151.       AFS: /afs/grand.central.org/pub/afs-contrib/tools/xlock
  1152.       WWW: <ftp://grand.central.org/pub/afs-contrib/tools/xlock/>
  1153.  
  1154. Subject: 3.03  How does AFS compare with NFS?
  1155.  
  1156.                                 AFS                          NFS
  1157.    File Access           Common name space from     Different file names from
  1158.                          all workstations           different workstations
  1159.  
  1160.    File Location         Automatic tracking by      Mountpoints to files set by
  1161.    Tracking              file system processes      administrators and users
  1162.                          and databases
  1163.  
  1164.    Performance           Client caching to reduce   No local disk caching;
  1165.                          network load; callbacks    limited cache consistency
  1166.                          to maintain cache consis-
  1167.                          tency
  1168.  
  1169.    Andrew Benchmark      Average time of 210        Average time of 280
  1170.    (5 phases, 8 clients) seconds/client             seconds/client
  1171.  
  1172.    Scaling capabilities  Maintains performance in   Best in small to mid-size
  1173.                          small and very large       installations
  1174.                          installations
  1175.  
  1176.                          Excellent performance on   Best in local-area
  1177.                          wide-area configuration    configurations
  1178.  
  1179.    Security              Kerberos mutual authen-    Security based on
  1180.                          tication                   unencrypted user ID's
  1181.  
  1182.                          Access control lists on    No access control lists
  1183.                          directories for user and
  1184.                          group access
  1185.  
  1186.    Availability          Replicates read-mostly     No replication
  1187.                          data and AFS system
  1188.                          information
  1189.  
  1190.    Backup Operation      No system downtime with    Standard UNIX backup system
  1191.                          specially developed AFS
  1192.                          Backup System
  1193.  
  1194.    Reconfiguration       By volumes (groups of      Per-file movement
  1195.                          files)
  1196.  
  1197.                          No user impact; files      Users lose access to files
  1198.                          remain accessible during   and filenames change
  1199.                          moves, and file names do   (mountpoints need to be
  1200.                          not change                 reset)
  1201.  
  1202.    System Management     Most tasks performed from  Frequently involves telnet
  1203.                          any workstation            to other workstations
  1204.  
  1205.    Autonomous            Autonomous administrative  File servers and clients
  1206.    Architecture          units called cells, in
  1207.                          addition to file servers
  1208.                          and clients
  1209.  
  1210.                          No trust required between  No security distinctions
  1211.                          cells                      between sites
  1212.  
  1213.    [ source: WWW: <ftp://grand.central.org/pub/afsps/doc/afs-nfs.comparison> ]
  1214.  
  1215.    Note: some vendors offer more secure versions of NFS but implementations
  1216.    vary and many NFS ports have no extra security features (such as Kerberos).
  1217.  
  1218. Subject: 3.04  Given that AFS data is location independent, how does
  1219.                an AFS client determine which server houses the data
  1220.                its user is attempting to access?
  1221.  
  1222.     The Volume Location Database (VLDB) is stored on AFS Database 
  1223.     Servers and is ideally replicated across 3 or more Database Server
  1224.     machines.  Replication of the Database ensures high availability
  1225.     and load balances the requests for the data.  The VLDB maintains 
  1226.     information regarding the current physical location of all volume 
  1227.     data (files and directories) in the cell, including the IP address
  1228.     of the FileServer, and the name of the disk partition the data is 
  1229.     stored on.
  1230.  
  1231.     A list of a cell's Database Servers is stored on the local disk of
  1232.     each AFS Client machine as: /usr/vice/etc/CellServDB
  1233.  
  1234.     The Database Servers also house the Kerberos Authentication
  1235.     Database (encrypted user and server passwords), the Protection
  1236.     Database (user UID and protection group information) and the 
  1237.     Backup Database (used by System Administrators to backup AFS file 
  1238.     data to tape).
  1239.  
  1240. Subject: 3.05  Which protocols does AFS use?
  1241.  
  1242.    AFS may be thought of as a collection of protocols and software
  1243.    processes, nested one on top of the other. The constant interaction
  1244.    between and within these levels makes AFS a very sophisticated software
  1245.    system.
  1246.  
  1247.    At the lowest level is the UDP protocol, which is part of TCP/IP. UDP
  1248.    is the connection to the actual network wire. The next protocol level is
  1249.    the  remote procedure call (RPC).  In general, RPCs allow the developer
  1250.    to build applications using the client/server model, hiding the
  1251.    underlying networking mechanisms. AFS uses Rx, an RPC protocol developed
  1252.    specifically for AFS during its development phase at Carnegie Mellon
  1253.    University.
  1254.  
  1255.    Above the RPC is a series of server processes and interfaces that all
  1256.    use Rx for communication between machines. Fileserver, volserver,
  1257.    upserver, upclient, and bosserver are server processes that export RPC
  1258.    interfaces to allow their user interface commands to request actions and
  1259.    get information. For example, a bos status <machine name> command will
  1260.    examine the bos server process on the indicated file server machine.
  1261.  
  1262.    Database servers use ubik, a replicated database mechanism which is
  1263.    implemented using RPC. Ubik guarantees that the copies of AFS databases
  1264.    of multiple server machines remain consistent. It provides an
  1265.    application programming interface (API) for database reads and writes,
  1266.    and uses RPCs to keep the database synchronized. The database server
  1267.    processes, vlserver, kaserver, and ptserver, reside above ubik. These
  1268.    processes export an RPC interface which allows  user commands to control
  1269.    their operation.  For instance, the pts command is used to communicate
  1270.    with the ptserver, while the command klog  uses the kaserver's RPC
  1271.    interface.
  1272.  
  1273.    Some application programs are quite complex, and draw on RPC interfaces
  1274.    for communication with an assortment of processes. Scout utilizes the
  1275.    RPC interface to file server processes to display and monitor the status
  1276.    of file servers. The uss command interfaces with  kaserver, ptserver,
  1277.    volserver and vlserver to create new user accounts.
  1278.  
  1279.    The Cache Manager also exports an RPC interface. This interface is used
  1280.    principally by file server machines to break callbacks.  It can also be
  1281.    used to obtain Cache Manager status information.  The program cmdebug
  1282.    shows the status of a Cache Manager using this interface.
  1283.  
  1284.    For additional information, Section 1.5 of the AFS System
  1285.    Administrator's Guide and the April 1990 Cache Update contain more
  1286.    information on ubik. Udebug information and short descriptions of all
  1287.    debugging tools were included in the January 1991 Cache Update. Future
  1288.    issues will discuss other debugging tools in more detail.
  1289.  
  1290.    [ source: WWW: <ftp://grand.central.org/pub/cache.update/apr91> ]
  1291.    [ Copyright  1991 Transarc Corporation ]
  1292.  
  1293. Subject: 3.06  Are setuid programs executable across AFS cell boundaries?
  1294.  
  1295.    By default, the setuid bit is ignored but the program may be run
  1296.    (without setuid privilege).
  1297.  
  1298.    It is possible to configure an AFS client to honour the setuid bit.
  1299.    This is achieved by root running: 
  1300.  
  1301.       root@toontown # fs setcell -cell $cellname -suid
  1302.  
  1303.    (where $cellname is the name of the foreign cell. Use with care!).
  1304.  
  1305.    NB: making a program setuid (or setgid) in AFS does *not* mean
  1306.    that the program will get AFS permissions of a user or group.
  1307.    To become AFS authenticated, you have to klog.  If you are not
  1308.    authenticated, AFS treats you as "system:anyuser".
  1309.  
  1310. Subject: 3.07  How does AFS maintain consistency on read-write files?
  1311.  
  1312.    AFS uses a mechanism called "callback".
  1313.  
  1314.    Callback is a promise from the fileserver that the cache version
  1315.    of a file/directory is up-to-date. It is established by the fileserver
  1316.    with the caching of a file.
  1317.  
  1318.    When a file is modified the fileserver breaks the callback.  When the
  1319.    user accesses the file again the Cache Manager fetches a new copy 
  1320.    if the callback has been broken.
  1321.  
  1322.    The following paragraphs describe AFS callback mechanism in more detail:
  1323.  
  1324.    If I open() fileA and start reading, and you then open() fileA,
  1325.    write() a change ***and close() or fsync()*** the file to get your
  1326.    changes back to the server - at the time the server accepts and writes
  1327.    your changes to the appropriate location on the server disk, the
  1328.    server also breaks callbacks to all clients to which it issued a copy
  1329.    of fileA.
  1330.  
  1331.    So my client receives a message to break the callback on fileA, which
  1332.    it dutifully does.  But my application (editor, spreadsheet, whatever
  1333.    I'm using to read fileA) is still running, and doesn't really care
  1334.    that the callback has been broken.
  1335.  
  1336.    When something causes the application to read() more of the file
  1337.    the read() system call executes AFS cache manager code via the VFS switch,
  1338.    which does check the callback and therefore gets new copies of the data.
  1339.  
  1340.    Of course, the application may not re-read data that it has already read,
  1341.    but that would also be the case if you were both using the same host.
  1342.    So, for both AFS and local files, I may not see your changes.
  1343.  
  1344.    Now if I exit the application and start it again, or if the
  1345.    application does another open() on the file, then I will see the
  1346.    changes you've made.  
  1347.  
  1348.    This information tends to cause tremendous heartache and discontent
  1349.    - but unnecessarily so.  People imagine rampant synchronization problems. 
  1350.    In practice this rarely happens and in those rare instances, the data in
  1351.    question is typically not critical enough to cause real problems or 
  1352.    crashing and burning of applications.  Over the past 8 years we've found
  1353.    that the synchronization algorithm has been more than adequate in practice
  1354.    - but people still like to worry!
  1355.  
  1356.    The source of worry is that, if I make changes to a file from my
  1357.    workstation, your workstation is not guaranteed to be notified until I
  1358.    close or fsync the file, at which point AFS guarantees that your
  1359.    workstation will be notified.  This is a significant departure from NFS,
  1360.    in which no guarantees are provided.
  1361.  
  1362.    Partially because of the worry factor and largely because of Posix,
  1363.    this will change in DFS.  DFS synchronization semantics are identical
  1364.    to local file system synchronization.
  1365.  
  1366.    [ DFS is the Distributed File System which is part of the Distributed ]
  1367.    [ Computing Environment (DCE).                                        ]
  1368.  
  1369. Subject: 3.08  How can I run daemons with tokens that do not expire?
  1370.  
  1371.    It is not a good idea to run with tokens that do not expire because
  1372.    this would weaken one of the security features of Kerberos.
  1373.  
  1374.    A better approach is to re-authenticate just before the token expires.
  1375.  
  1376.    There are two examples of this that have been contributed to
  1377.    grand.central.org. The first is "reauth":
  1378.  
  1379.    via AFS: /afs/grand.central.org/pub/afs-contrib/tools/reauth*
  1380.    via FTP: grand.central.org:/pub/afs-contrib/tools/reauth*
  1381.    via WWW: <ftp://grand.central.org/pub/afs-contrib/tools/reauth/>
  1382.  
  1383.    The second is "lat":
  1384.  
  1385.    via AFS: /afs/grand.central.org/pub/afs-contrib/pointers\
  1386.                                 /UMich-lat-authenticated-batch-jobs
  1387.    via FTP: grand.central.org:/pub/afs-contrib/pointers\
  1388.                                 /UMich-lat-authenticated-batch-jobs
  1389.    via WWW: <ftp://grand.central.org/pub/afs-contrib/pointers\
  1390.                                 /UMich-lat-authenticated-batch-jobs>
  1391.  
  1392. Subject: 3.09  Can I check my user's passwords for security purposes?
  1393.  
  1394.    Yes. Alec Muffett's Crack tool (at version 4.1f) has been converted
  1395.    to work on the Transarc kaserver database. This modified Crack
  1396.    (AFS Crack) is available via anonymous ftp from:
  1397.  
  1398.       FTP: export.acs.cmu.edu:/pub/crack.tar.Z
  1399.       WWW: <ftp://export.acs.cmu.edu/pub/crack.tar.Z>
  1400.  
  1401.    and is known to work on: pmax_* sun4*_* hp700_* rs_aix* next_*
  1402.  
  1403.    It uses the file /usr/afs/db/kaserver.DB0, which is the database on
  1404.    the kaserver machine that contains the encrypted passwords. As a bonus,
  1405.    AFS Crack is usually two to three orders of magnitude faster than the
  1406.    standard Crack since there is no concept of salting in a Kerberos database.
  1407.  
  1408.    On a normal UNIX /etc/passwd file, each password can have been encrypted
  1409.    around 4096 (2^12) different saltings of the crypt(3) algorithm, so for
  1410.    a large number of users it is easy to see that a potentially large
  1411.    (up to 4095) number of seperate encryptions of each word checked has
  1412.    been avoided.
  1413.  
  1414.    Author & Contact: Dan Lovinger, del+@cmu.edu
  1415.  
  1416.    Note: AFS Crack does not work for MIT Kerberos Databases.
  1417.          The author is willing to give general guidance to someone interested
  1418.          in doing the (probably minimal) amount of work to port it to do MIT
  1419.          Kerberos. The author does not have access to a MIT Kerberos server
  1420.          to do this.
  1421.  
  1422. Subject: 3.10  Is there a way to automatically balance disk usage across
  1423.                fileservers?
  1424.  
  1425.    Yes. There is a tool, balance, which does exactly this.
  1426.    It can be retrieved via anonymous ftp from:
  1427.  
  1428.       FTP: export.acs.cmu.edu:/pub/balance-1.1.tar.Z
  1429.       WWW: <ftp://export.acs.cmu.edu/pub/balance-1.1.tar.Z>
  1430.  
  1431.    Actually, it is possible to write arbitrary balancing algorithms
  1432.    for this tool. The default set of "agents" provided for the current
  1433.    version of balance balance by usage, # of volumes, and activity per week,
  1434.    the latter currently requiring a source patch to the AFS volserver.
  1435.    Balance is highly configurable.
  1436.  
  1437.    Author: Dan Lovinger, del+@cmu.edu
  1438.  
  1439. Subject: 3.11  Can I shutdown an AFS fileserver without affecting users?
  1440.  
  1441.    Yes, this is an example of the flexibility you have in managing AFS.
  1442.  
  1443.    Before attempting to shutdown an AFS fileserver you have to make
  1444.    some arrangements that any services that were being provided are
  1445.    moved to another AFS fileserver:
  1446.  
  1447.    1) Move all AFS volumes to another fileserver. (Check you have the space!)
  1448.       This can be done "live" while users are actively using files
  1449.       in those volumes with no detrimental effects.
  1450.  
  1451.    2) Make sure that critical services have been replicated on one
  1452.       (or more) other fileserver(s). Such services include:
  1453.  
  1454.          kaserver  - Kerberos Authentication server
  1455.          vlserver  - Volume Location server
  1456.          ptserver  - Protection server
  1457.          buserver  - Backup server
  1458.  
  1459.       It is simple to test this before the real shutdown by issuing:
  1460.  
  1461.          bos shutdown $server $service
  1462.  
  1463.       where: $server is the name of the server to be shutdown
  1464.         and  $service is one (or all) of: kaserver vlserver ptserver buserver
  1465.  
  1466.    Other points to bear in mind:
  1467.  
  1468.    + "vos remove" any RO volumes on the server to be shutdown.
  1469.      Create corresponding RO volumes on the 2nd fileserver after moving the RW.
  1470.      There are two reasons for this:
  1471.  
  1472.      1) An RO on the same partition ("cheap replica") requires less space
  1473.         than a full-copy RO.
  1474.  
  1475.      2) Because AFS always accesses RO volumes in preference to RW,
  1476.         traffic will be directed to the RO and therefore quiesce the load
  1477.         on the fileserver to be shutdown.
  1478.  
  1479.    + If the system to be shutdown has the lowest IP address there may be a
  1480.      brief delay in authenticating because of timeout experienced before
  1481.      contacting a second kaserver.
  1482.  
  1483. Subject: 3.12  How can I set up mail delivery to users with $HOMEs in AFS?
  1484.  
  1485.    There are many ways to do this. Here, only two methods are considered:
  1486.  
  1487.    Method 1: deliver into local filestore
  1488.  
  1489.    This is the simplest to implement. Set up your mail delivery to
  1490.    append mail to /var/spool/mail/$USER on one mailserver host.
  1491.    The mailserver is an AFS client so users draw their mail out of
  1492.    local filestore into their AFS $HOME (eg: inc).
  1493.  
  1494.    Note that if you expect your (AFS unauthenticated) mail delivery program
  1495.    to be able to process .forward files in AFS $HOMEs then you need to
  1496.    add "system:anyuser rl" to each $HOMEs ACL.
  1497.  
  1498.    The advantages are:
  1499.  
  1500.       + Simple to implement and maintain.
  1501.       + No need to authenticate into AFS.
  1502.  
  1503.    The drawbacks are:
  1504.  
  1505.       - It doesn't scale very well.
  1506.       - Users have to login to the mailserver to access their new mail.
  1507.       - Probably less secure than having your mailbox in AFS.
  1508.       - System administrator has to manage space in /var/spool/mail.
  1509.  
  1510.    Method 2: deliver into AFS
  1511.  
  1512.    This takes a little more setting up than the first method.
  1513.  
  1514.    First, you must have your mail delivery daemon AFS authenticated
  1515.    (probably as "postman"). The reauth example on grand.central.org
  1516.    shows how a daemon can renew its token. You will also need to setup
  1517.    the daemon startup soon after boot time to klog (see the -pipe option).
  1518.  
  1519.    Second, you need to set up the ACLs so that "postman" has lookup rights
  1520.    down to the user's $HOME and "lik" on $HOME/Mail.
  1521.  
  1522.    Advantages:
  1523.  
  1524.       + Scales better than first method.
  1525.       + Delivers to user's $HOME in AFS giving location independence.
  1526.       + Probably more secure than first method.
  1527.       + User responsible for space used by mail.
  1528.  
  1529.    Disadvantages:
  1530.  
  1531.       - More complicated to set up.
  1532.       - Need to correctly set ACLs down to $HOME/Mail for every user.
  1533.       - Probably need to store postman's password in a file so that
  1534.         the mail delivery daemon can klog after boot time.
  1535.         This may be OK if the daemon runs on a relatively secure host.
  1536.  
  1537.    An example of how to do this for IBM RISC System/6000 is auth-sendmail.
  1538.    A beta test version of auth-sendmail can be found in:
  1539.  
  1540.    WWW: <ftp://grand.central.org/pub/afs-contrib/doc/faq/auth-sendmail.tar.Z>
  1541.  
  1542. Subject: 3.13  Should I replicate a ReadOnly volume on the same partition
  1543.                and server as the ReadWrite volume?
  1544.  
  1545.    Yes, Absolutely! It improves the robustness of your served volumes.
  1546.  
  1547.    If ReadOnly volumes exist (note use of term *exist* rather than
  1548.    *are available*), Cache Managers will *never* utilize the ReadWrite
  1549.    version of the volume. The only way to access the RW volume is via
  1550.    the "dot" path (or by special mounting).
  1551.  
  1552.    This means if *all* RO copies are on dead servers, are offline, are
  1553.    behind a network partition, etc, then clients will not be able to get
  1554.    the data, even if the RW version of the volume is healthy, on a healthy
  1555.    server and in a healthy network.
  1556.  
  1557.    However, you are *very* strongly encouraged to keep one RO copy of a
  1558.    volume on the *same server and partition* as the RW. There are two
  1559.    reasons for this:
  1560.  
  1561.    1) The RO that is on the same server and partition as the RW is a clone
  1562.       (just a copy of the header - not a full copy of each file).
  1563.       It therefore is very small, but provides access to the same set of files
  1564.       that all other (full copy) ReadOnly volume do.
  1565.       Transarc trainers refer to this as the "cheap replica".
  1566.  
  1567.    2) To prevent the frustration that occurs when all your ROs are unavailable
  1568.       but a perfectly healthy RW was accessible but not used. 
  1569.  
  1570.       If you keep a "cheap replica", then by definition, if the RW is available,
  1571.       one of the RO's is also available, and clients will utilize that site.  
  1572.  
  1573. Subject: 3.14  Should I start AFS before NFS in /etc/inittab?
  1574.  
  1575.    Yes, it is possible to run both AFS and NFS on the same system but
  1576.    you should start AFS first.
  1577.  
  1578.    In IBM's AIX 3.2, your /etc/inittab would contain:
  1579.  
  1580.       rcafs:2:wait:/etc/rc.afs > /dev/console 2>&1 # Start AFS daemons
  1581.       rcnfs:2:wait:/etc/rc.nfs > /dev/console 2>&1 # Start NFS daemons
  1582.  
  1583.    With AIX, you need to load NFS kernel extensions before the AFS KEs
  1584.    in /etc/rc.afs like this:
  1585.  
  1586.       #!/bin/sh -
  1587.       # example /etc/rc.afs for an AFS fileserver running AIX 3.2
  1588.       #
  1589.       echo "Installing NFS kernel extensions (for AFS+NFS)"
  1590.       /etc/gfsinstall -a /usr/lib/drivers/nfs.ext
  1591.       echo "Installing AFS kernel extensions..."
  1592.       D=/usr/afs/bin/dkload
  1593.       ${D}/cfgexport -a ${D}/export.ext
  1594.       ${D}/cfgafs    -a ${D}/afs.ext
  1595.       /usr/afs/bin/bosserver &
  1596.  
  1597. Subject: 3.15  Will AFS run on a multi-homed fileserver?
  1598.  
  1599.    (multi-homed = host has more than one network interface.)
  1600.  
  1601.    Yes, it will. However, AFS was designed for hosts with a single IP address.
  1602.    There can be problems if you have one host name being resolved to several
  1603.    IP addresses.
  1604.  
  1605.    Transarc suggest designating unique hostnames for each network interface.
  1606.    For example, a host called "spot" has two tokenring and one ethernet
  1607.    interfaces: spot-tr0, spot-tr1, spot-en0.
  1608.    Then, select which interface will be used for AFS and use that hostname
  1609.    in the CellServDB file (eg: spot-tr0).
  1610.  
  1611.    You also have to remember to use the AFS interface name with any AFS
  1612.    commands that require a server name (eg: vos listvol spot-tr0).
  1613.  
  1614.    There is a more detailed discussion of this in the August 1993 issue
  1615.    of "Cache Update" (see: /afs/grand.central.org/pub/cache.update/aug93).
  1616.  
  1617.    The simplest way of dealing with this is to make your AFS fileservers
  1618.    single-homed (eg only use one network interface).
  1619.  
  1620. Subject: 3.16  Can I replicate my user's home directory AFS volumes?
  1621.  
  1622.    No.
  1623.  
  1624.    Users with $HOMEs in /afs normally have an AFS ReadWrite volume
  1625.    mounted in their home directory.
  1626.  
  1627.    You can replicate a RW volume but only as a ReadOnly volume
  1628.    and there can only be one instance of a ReadWrite volume.
  1629.  
  1630.    In theory, you could have RO copies of a user's RW volume
  1631.    on a second server but in practice this won't work for the
  1632.    following reasons:
  1633.  
  1634.    a) AFS has built-in bias to always access the RO copy of a RW volume.
  1635.       So the user would have a ReadOnly $HOME which is not too useful!
  1636.  
  1637.    b) Even if a) was not true you would have to arrange frequent
  1638.       synchronisation of the RO copy with the RW volume (for example:
  1639.       "vos release user.fred; fs checkv") and this would have to be
  1640.       done for all such user volumes.
  1641.  
  1642.    c) Presumably, the idea of replicating is to recover the $HOME
  1643.       in the event of a server crash. Even if a) and b) were not
  1644.       problems consider what you might have to do to recover a $HOME:
  1645.  
  1646.       1) Create a new RW volume for the user on the second server
  1647.          (perhaps named "user.fred.2").
  1648.  
  1649.       2) Now, where do you mount it?
  1650.  
  1651.          The existing mountpoint cannot be used because it already has
  1652.          the ReadOnly copy of the original volume mounted there.
  1653.  
  1654.          Let's choose: /afs/MyCell/user/fred.2
  1655.  
  1656.       3) Copy data from the RO of the original into the new RW volume
  1657.          user.fred.2
  1658.  
  1659.       4) Change the user's entry in the password file for the new $HOME:
  1660.          /afs/MyCell/user/fred.2
  1661.  
  1662.       You would have to attempt steps 1 to 4 for every user who had
  1663.       their RW volume on the crashed server. By the time you had done
  1664.       all of this, the crashed server would probably have rebooted.
  1665.  
  1666.       The bottom line is: you cannot replicate $HOMEs across servers.
  1667.  
  1668. Subject: 3.17  Which TCP/IP ports and protocols do I need to enable
  1669.                in order to operate AFS through my Internet firewall?
  1670.  
  1671.    Assuming you have already taken care of nameserving, you may wish to
  1672.    use an Internet timeserver for Network Time Protocol:
  1673.  
  1674.       ntp             123/tcp
  1675.  
  1676.    A list of NTP servers is available via anonymous FTP from:
  1677.  
  1678.            louie.udel.edu:/pub/ntp/doc/clock.txt
  1679.       WWW: <ftp://louie.udel.edu/pub/ntp/doc/clock.txt>
  1680.  
  1681.    For a "minimal" AFS service which does not allow inbound or outbound klog:
  1682.  
  1683.       fileserver      7000/udp 
  1684.       cachemanager    7001/udp
  1685.       ptserver        7002/udp
  1686.       vlserver        7003/udp
  1687.       kaserver        7004/udp
  1688.       volserver       7005/udp
  1689.       reserved        7006/udp
  1690.       bosserver       7007/udp
  1691.  
  1692.    (Ports in the 7020-7029 range are used by the AFS backup system,
  1693.     and won't be needed by external clients performing simple file accesses.)
  1694.  
  1695.    Additionally, For "klog" to work through the firewall you need to
  1696.    allow inbound and outbound UDP on ports >1024 (probably 1024<port<2048
  1697.    would suffice depending on the number of simultaneous klogs).
  1698.  
  1699. Subject: 3.18  What is the Andrew Benchmark?
  1700.  
  1701.    "It is a script that operates on a collection of files constituting
  1702.    an application program. The operations are intended to represent typical
  1703.    actions of an average user. The input to the benchmark is a source tree
  1704.    of about 70 files. The files total about 200 KB in size. The benchmark
  1705.    consists of five distinct phases:
  1706.  
  1707.      I MakeDir - Construct a target subtree that is identical to the
  1708.                  source subtree.
  1709.     II Copy    - Copy every file from the source subtree to the target subtree.
  1710.    III ScanDir - Traverse the target subtree and examine the status
  1711.                  of every file in it.
  1712.     IV ReadAll - Scan every byte of every file in the target subtree.
  1713.      V Make    - Complete and link all files in the target subtree." 
  1714.    
  1715.    Source:
  1716.    /afs/grand.central.org/pub/afs-contrib/doc/benchmark/Andrew.Benchmark.ps
  1717.    WWW:
  1718.    <ftp://grand.central.org/pub/afs-contrib/doc/benchmark/Andrew.Benchmark.ps>
  1719.  
  1720. Subject: 3.19  Is there a version of HP VUE login with AFS authentication?
  1721.  
  1722.    Yes, the availability of this is described in:
  1723.       AFS: /afs/transarc.com/public/afs-contrib/pointers/HP-VUElogin.txt
  1724.       WWW: <ftp://grand.central.org/pub/afs-contrib/pointers/HP-VUElogin.txt>
  1725.  
  1726.    IBM staff can get a copy of HP VUE login from:
  1727.       AFS: /afs/watson.ibm.com/projects/agora/hp/hp-agora/HP-VUElogin
  1728.       WWW: <file:///afs/watson.ibm.com/projects/agora/hp/hp-agora/HP-VUElogin/>
  1729.    
  1730.    If you don't have access to the above, please contact Margo Hikida
  1731.    of Hewlett Packard whose email address is margoh@fc.hp.com.
  1732.    The following text is from Margo:
  1733.  
  1734.       If you are a customer outside of the U.S., or if you will be providing
  1735.       this software to anyone outside of the U.S., please note that there are
  1736.       some U.S. government restrictions on exporting this software.  For 
  1737.       Hewlett Packard to be in compliance, we ask that you agree to abide by 
  1738.       these restrictions which are explained in the letter referenced below. 
  1739.       We ask that you read this letter, sign and date it, and then send it
  1740.       back to me through regular mail or by FAX before receiving the software.
  1741.       Your cooperation is greatly appreciated. 
  1742.  
  1743.          Hewlett Packard               OR      FAX: (303) 229-3002
  1744.          attn: Margo Hikida, MS37
  1745.          3404 E. Harmony Road 
  1746.          Fort Collins, CO   80525
  1747.          USA
  1748.  
  1749.       The "letter of assurance" can be found in:
  1750.          AFS: /afs/grand.central.org/pub/afs-contrib/doc/faq/HPVUE.letter
  1751.          WWW: <ftp://grand.central.org/pub/afs-contrib/doc/faq/HPVUE.letter>
  1752.  
  1753. Subject: 3.20  How can I list which clients have cached files from a server?
  1754.  
  1755.    By using the following script:
  1756.  
  1757.    #!/bin/ksh -
  1758.    #
  1759.    # NAME          afsclients
  1760.    # AUTHOR        Rainer Toebbicke  <rtb@dxcern.cern.ch>
  1761.    # DATE          June 1994
  1762.    # PURPOSE       Display AFS clients which have grabbed files from a server
  1763.  
  1764.    if [ $# = 0 ]; then
  1765.            echo "Usage: $0 <afs_server 1> ... <afsserver n>"
  1766.            exit 1
  1767.    fi
  1768.    for n; do
  1769.            /usr/afsws/etc/rxdebug -servers $n -allconn
  1770.    done | grep '^Connection' | \
  1771.    while  read x y z ipaddr rest; do echo $ipaddr; done | sort -u |
  1772.    while read ipaddr; do
  1773.            ipaddr=${ipaddr%%,}
  1774.            n="`nslookup $ipaddr`"
  1775.            n="${n##*Name: }"
  1776.            n="${n%%Address:*}"
  1777.            n="${n##*([ ])}"
  1778.            n="${n%?}"
  1779.            echo "$n ($ipaddr)"
  1780.    done
  1781.  
  1782. Subject: 3.21  Do Backup volumes require as much space as ReadWrite volumes?
  1783.  
  1784.    No.
  1785.  
  1786.    The technique used is to create a new volume, where every file in the
  1787.    RW copy is pointed to by the new backup volume.  The files don't exist
  1788.    in the BK, only in the RW volume.  The backup therefore takes up
  1789.    very little space.
  1790.  
  1791.    If the user now starts modifying data, the old copy must not be destroyed.
  1792.  
  1793.    There is a Copy-On-Write bit in the vnode - if the fileserver writes to
  1794.    a vnode with the bit on it allocates a new vnode for the data and turns
  1795.    off the COW bit. The BK volume hangs onto the old data, and the RW volume
  1796.    slowly splits itself away over time.
  1797.  
  1798.    The BK volume is re-synchronised with the RW next time a "vos backupsys"
  1799.    is run.
  1800.  
  1801.    The space needed for the BK volume is directly related to the size
  1802.    of all files changed in the RW between runs of "vos backupsys".
  1803.  
  1804. Subject: 4  Getting more information
  1805.  
  1806. Subject: 4.01  Is there an anonymous FTP site with AFS information?
  1807.  
  1808.    Yes, it is: grand.central.org [192.54.226.100]  <ftp://grand.central.org/>
  1809.  
  1810.    A brief summary of contents:
  1811.  
  1812.    Directory                    Contents
  1813.  
  1814.    pub/cache.update             AFS user group newsletters
  1815.    pub/afs-contrib              Contributed tools and documents
  1816.    pub/afsps/doc                release notes, SUPPORTED_SYSTEMS.afs.*
  1817.    pub/afsug                    AFS user group (see README for detail)
  1818.    darpa/doc/afs/specs/progint  AFS programming interface docs
  1819.  
  1820.    grand.central.org also participates in the Internet AFS filetree.
  1821.  
  1822. Subject: 4.02  Which USENET newsgroups discuss AFS?
  1823.  
  1824.    alt.filesystems.afs (WWW: <news:alt.filesystems.afs>) and occasionally in
  1825.    comp.unix.admin (WWW: <news:comp.unix.admin>).
  1826.  
  1827. Subject: 4.03  Where can I get training in AFS?
  1828.  
  1829.    Transarc provide user and administrator courses.
  1830.    These can be provided at the customer site or at Transarc's offices.
  1831.  
  1832.    Transarc's education coordinator may be contacted by:
  1833.  
  1834.       telephone: +1 412 338 4363    email: education@transarc.com
  1835.  
  1836.    WWW:
  1837.    <ftp://grand.central.org/afs/transarc.com/public/www/Department/Training/index.html>
  1838.  
  1839. Subject: 4.04  Where can I find AFS resources in World Wide Web (WWW)?
  1840.  
  1841.    Here are some I have found (please let me know if you find more):
  1842.  
  1843.    a) A collection of AFS information maintained by Derrick Brashear at CMU:
  1844.  
  1845.       WWW: <http://www.cs.cmu.edu:8001/afs/andrew.cmu.edu/usr/db74/www/afs.html>
  1846.       (Also accessible in: /afs/andrew.cmu.edu/usr/db74/www)
  1847.  
  1848.    b) AFS Beginners Guide:
  1849.       WWW:   <http://www.alw.nih.gov/Docs/AFS/AFS_toc.html>
  1850.  
  1851.    c) NCSA AFS User Guide:
  1852.       WWW: <http://www.ncsa.uiuc.edu/Pubs/UserGuides/AFSGuide/AFSv2.1Book.html>
  1853.  
  1854. N  d) Transarc AFS Product Information:
  1855. N  WWW:
  1856. N  ftp://grand.central.org/afs/transarc.com/public/www/Product/AFS/AFS-Info.html
  1857.  
  1858. Subject: 4.05  Is there a mailing list for AFS topics?
  1859.  
  1860.    Yes, it is info-afs@transarc.com.
  1861.  
  1862.    To join to this mailing list, email info-afs-request@transarc.com:
  1863.  
  1864.       $ mail -s "subscribe to info-afs" info-afs-request@transarc.com <<%
  1865.       Please add me to the info-afs@transarc.com mailing list.
  1866.       %
  1867.  
  1868.    To unsubscribe:
  1869.  
  1870.       $ mail -s "unsubscribe from info-afs" info-afs-request@transarc.com <<%
  1871.       Please remove me from the info-afs@transarc.com mailing list.
  1872.       %
  1873.  
  1874. Subject: 4.06  Where can I find an archive of info-afs@transarc.com?
  1875.  
  1876.       AFS: /afs/ibm.uk/common/archive/info-afs@transarc.com
  1877.       WWW: <file:///afs/ibm.uk/common/archive/info-afs@transarc.com/>
  1878.  
  1879. Subject: 4.07  Where can I find an archive of alt.filesystems.afs?
  1880.  
  1881.       AFS: /afs/ibm.uk/common/archive/alt.filesystems.afs
  1882.       WWW: <file:///afs/ibm.uk/common/archive/alt.filesystems.afs/>
  1883.  
  1884.    Both the info-afs@transarc.com and alt.filesystems.afs archives are
  1885.    incomplete. If you have material to contribute, please let me know.
  1886.  
  1887. Subject: 4.08  Where can I find AFS related GIFs?
  1888.  
  1889.    /afs/transarc.com/public/www/Product/AFS/FAQ/images
  1890.  
  1891.    <file:///afs/transarc.com/public/www/Product/AFS/FAQ/images/index.html>
  1892.  
  1893. Subject: 5  About the AFS faq
  1894.  
  1895.    I started compiling the FAQ after attending an AFS administrators class
  1896.    and while waiting for the distribution tape to arrive from Transarc
  1897.    (back in July 93). The initial goal was to assist users at my site
  1898.    to understand AFS issues.
  1899.  
  1900.    The FAQ seemed to be a more widely useful resource so it was made
  1901.    available on grand.central.org.
  1902.  
  1903.    I hope you have found the AFS FAQ useful.
  1904.    Your criticism or suggestions for improving it are welcome, so please
  1905.    don't hesitate to email your views (or just say "hello").
  1906.  
  1907.    This compilation is dedicated to my AFS teacher and all those
  1908.    who inspire through good humour, enthusiasm, wit and wisdom. 
  1909.    --
  1910.    paul                             <http://acm.org/~mpb/homepage.html>
  1911.  
  1912. Subject: 5.01  How can I get a copy of the AFS faq?
  1913.  
  1914.    The latest copy is <ftp://grand.central.org/pub/afs-contrib/doc/faq/afs.faq>
  1915.  
  1916.    There are several ways to get a copy.
  1917.  
  1918.    The best way to access the AFS faq is via AFS so you see the
  1919.    latest version. If you take a copy via FTP or email your copy
  1920.    can only be a snapshot of this changing file.
  1921.  
  1922.    via AFS: /afs/grand.central.org/pub/afs-contrib/doc/faq/afs.faq
  1923.             /afs/ibm.uk/public/doc/afs.faq
  1924.             /afs/aixssc.uk.ibm.com/public/doc/afs.faq
  1925.  
  1926.    via FTP: grand.central.org:/pub/afs-contrib/doc/faq/afs.faq
  1927.             rtfm.mit.edu:/pub/usenet/news.answers/afs-faq
  1928.             ftp.aixssc.uk.ibm.com:/pub/src/afs.faq
  1929.  
  1930.    via WWW:
  1931.   <ftp://grand.central.org/afs/transarc.com/public/www/Product/AFS/FAQ/faq.html>
  1932.          <http://www.aixssc.uk.ibm.com:8000/AFS/faq.html>
  1933.          <http://www.cis.ohio-state.edu/hypertext/faq/usenet/afs-faq/faq.html>
  1934.  
  1935.    via email:
  1936.             mail -s afs.faq auto-send@mailserver.aixssc.uk.ibm.com </dev/null
  1937.  
  1938.    via USENET news:
  1939.  
  1940.             From time to time this faq will be posted to the USENET newsgroups:
  1941.                alt.filesystems.afs alt.answers news.answers
  1942.  
  1943.    If you have no luck with any of the above methods, send email to
  1944.    mpb@acm.org (Paul Blackburn) and I will be pleased to send you a
  1945.    copy of the AFS faq.
  1946.  
  1947. Subject: 5.02  How can I get my question (and answer) into the AFS faq?
  1948.  
  1949.    Comments and contributions are welcome, please send to: mpb@acm.org
  1950.  
  1951.    I am looking for reviewers to help me check the material here, please
  1952.    let me know if you would like to help.
  1953.  
  1954. Subject: 5.03  How can I access the AFS faq via the World Wide Web?
  1955.  
  1956.    To access the World Wide Web you either need your own browser
  1957.    or have telnet access to WWW servers.
  1958.  
  1959.    WWW browsers exist for most machines. Here's a list of some browsers;
  1960.  
  1961.       Name     System/requirements           Available from (among others)
  1962.       ====     ===================           ==============
  1963.       Mosaic   X windows, MS-Windows, Mac    ftp.ncsa.uiuc.edu  /Web
  1964.       lynx     vt100                         ftp.wustl.edu /packages/www/lynx
  1965.  
  1966.    From your own browser, OPEN or GO to the following document:
  1967.  
  1968.   <ftp://grand.central.org/afs/transarc.com/public/www/Product/AFS/FAQ/faq.html>
  1969.  
  1970.    It is much better to run your own browser but if this is not possible
  1971.    there are several WWW servers accessible via telnet:
  1972.  
  1973.    +  telnet info.cern.ch
  1974.       then type:
  1975.  go ftp://grand.central.org/afs/transarc.com/public/www/Product/AFS/FAQ/faq.html
  1976.  
  1977.    +  telnet www.njit.edu                 (login: www)
  1978.       then type:
  1979.          g
  1980.    ftp://grand.central.org/afs/transarc.com/public/www/Product/AFS/FAQ/faq.html
  1981.  
  1982.    +  telnet  ukanaix.cc.ukans.edu        (login: www) needs vt100
  1983.       then type:
  1984.    gftp://grand.central.org/afs/transarc.com/public/www/Product/AFS/FAQ/faq.html
  1985.  
  1986. Subject: 6  Bibliography
  1987.  
  1988.    If documentation is available via anonymous FTP it is indicated
  1989.    by a World Wide Web URL like:
  1990.  
  1991.     WWW: <ftp://athena-dist.mit.edu/pub/kerberos/doc/usenix.PS>
  1992.  
  1993.     where: athena-dist.mit.edu is the anonymous FTP site and
  1994.            pub/kerberos/doc/usenix.PS is the filename
  1995.  
  1996.    Similarly, for those who have appropriate access, documents available
  1997.    via AFS are shown with the format:
  1998.   
  1999.    /afs/.....
  2000.  
  2001.    [1] John H Howard, Michael L Kazar, Sherri G Menees, David A Nichols,
  2002.        M Satyanarayanan, Robert N Sidebotham, Michael J West
  2003.        "Scale and Performance in a Distributed File System",
  2004.        ACM Transactions on Computer Systems, Vol. 6, No. 1, Feb 1988 pp 51-81.
  2005.  
  2006.    [2] Michael L Kazar,
  2007.        "Synchronisation and Caching Issues in the Andrew File System",
  2008.        USENIX Proceedings, Dallas, TX, Winter 1988
  2009.  
  2010.    [3] Alfred Z Spector, Michael L Kazar,
  2011.        "Uniting File Systems", UNIX Review, March 1989
  2012.  
  2013.    [4] Johna Till Johnson,
  2014.        "Distributed File System brings LAN Technology to WANs",
  2015.        Data Communications, November 1990, pp 66-67.
  2016.  
  2017.    [5] Michael Padovano, PADCOM Associates,
  2018.        "AFS widens your horizons in distributed computing",
  2019.        Systems Integration, March 1991
  2020.  
  2021.    [6] Steve Lammert,
  2022.        "The AFS 3.0 Backup System", LISA IV Conference Proceedings,
  2023.        Colorado Springs, Colorado, October 1990.
  2024.  
  2025.    [7] Michael L Kazar, Bruce W Leverett, Owen T Anderson,
  2026.        Vasilis Apostolides, Beth A Bottos, Sailesh Chutani,
  2027.        Craig F Everhart, W Anthony Mason, Shu-Tsui Tu, Edward R Zayas,
  2028.        "DEcorum File System Architectural Overview",
  2029.        USENIX Conference Proceedings, Anaheim, Texas, Summer 1990.
  2030.  
  2031.    [8] "AFS Drives DCE Selection", Digital Desktop, Vol 1 No 6 Sept 1990.
  2032.  
  2033.    [9] James J Kistler, M Satyanarayanan,
  2034.        "Disconnected Operation in the Coda Filesystem",
  2035.        CMU School of Computer Science technical report, CMU-CS-91-166
  2036.        26th July 1991.
  2037.  
  2038.   [10] Puneet Kumar. M Satyanarayanan,
  2039.        "Log-based Directory Resolution in the Coda File System",
  2040.        CMU School of Computer Science internal document, 2 July 1991.
  2041.  
  2042.   [11] Edward R Zayas,
  2043.        "Administrative Cells: Proposal for Cooperative Andrew File Systems",
  2044.        Information Technology Center internal document,
  2045.        Carnegie-Mellon University, 25th June 1987
  2046.  
  2047.   [12] Ed Zayas, Craig Everhart,
  2048.        "Design and Specification of the Cellular Andrew Environment",
  2049.        Information Technology Center, Carnegie-Mellon University,
  2050.        CMU-ITC-070, 2 August 1988
  2051.  
  2052.   [13] Kazar, Michael L, Information Technology Center,
  2053.        Carnegie-Mellon University,
  2054.        "Ubik - A library for Managing Ubiquitous Data", 
  2055.        ITCID, Pittsburgh, PA, 1988
  2056.  
  2057.   [14] Kazar, Michael L, Information Technology Center,
  2058.        Carnegie-Mellon University,
  2059.        "Quorum Completion", ITCID, Pittsburgh, PA, 1988
  2060.  
  2061.   [15] SP Miller, BC Neuman, JI Schiller, JH Saltzer,
  2062.        "Kerberos Authentication and Authorization System",
  2063.        Project Athena technical Plan, Section E.2.1, MIT, December 1987
  2064.        WWW: <ftp://athena-dist.mit.edu/pub/kerberos/doc/techplan.PS>
  2065.        WWW: <ftp://athena-dist.mit.edu/pub/kerberos/doc/techplan.txt>
  2066.        /afs/watson.ibm.com/projects/agora/papers/kerberos/techplan.PS
  2067.  
  2068.   [16] Bill Bryant,
  2069.        "Designing an Authentication System: a Dialogue in Four Scenes",
  2070.        Project Athena internal document, MIT, draft of 8th February 1988
  2071.        WWW: <ftp://athena-dist.mit.edu/pub/kerberos/doc/dialogue.PS>
  2072.        WWW: <ftp://athena-dist.mit.edu/pub/kerberos/doc/dialogue.mss>
  2073.        /afs/watson.ibm.com/projects/agora/papers/kerberos/dialogue.PS
  2074.  
  2075.   [17] Edward R Zayas,
  2076.        "AFS-3 Programmer's Reference: Architectural Overview",
  2077.        Transarc Corporation, FS-00-D160, September 1991
  2078.        WWW:
  2079.      <ftp://grand.central.org/darpa/doc/afs/specs/progint/archov/archov-doc.ps>
  2080.        /afs/watson.ibm.com/projects/agora/papers/afs/archov-doc.ps 
  2081.  
  2082.   [18] "AFS Programmer's Reference: Authentication Server Interface",
  2083.        Transarc Corporation, 12th April 1993
  2084.        WWW:
  2085.        <ftp://grand.central.org/darpa/doc/afs/specs/progint/asrv/asrv-ispec.ps>
  2086.        /afs/watson.ibm.com/projects/agora/papers/afs/asrv-ispec.ps
  2087.  
  2088.   [19] Edward R Zayas,
  2089.        "AFS-3 Programmer's Reference: BOS Server Interface",
  2090.        Transarc Corporation, FS-00-D161, 28th August 1991
  2091.        WWW:
  2092.        <ftp://grand.central.org/darpa/doc/afs/specs/progint/bsrv/bsrv-spec.ps>
  2093.        /afs/watson.ibm.com/projects/agora/papers/afs/bsrv-spec.ps
  2094.  
  2095.   [20] Edward R Zayas,
  2096.        "AFS-3 Programmer's Reference: File Server/Cache Manager Interface",
  2097.        Transarc Corporation, FS-00-D162, 20th August 1991
  2098.        WWW:
  2099.        <ftp://grand.central.org/darpa/doc/afs/specs/progint/fscm/fscm-ispec.ps>
  2100.        /afs/watson.ibm.com/projects/agora/papers/afs/fscm-ispec.ps
  2101.  
  2102.   [21] Edward R Zayas,
  2103.        "AFS-3 Programmer's Reference:
  2104.               Specification for the Rx Remote Procedure Call Facility",
  2105.        Transarc Corporation, FS-00-D164, 28th August 1991
  2106.        WWW: <ftp://grand.central.org/darpa/doc/afs/specs/progint/rx/rx-spec.ps>
  2107.        /afs/watson.ibm.com/projects/agora/papers/afs/rx-spec.ps
  2108.  
  2109.   [22] Edward R Zayas,
  2110.        "AFS-3 Programmer's Reference:
  2111.               Volume Server/Volume Location Server Interface",
  2112.        Transarc Corporation, FS-00-D165, 29th August 1991
  2113.        WWW:
  2114.        <ftp://grand.central.org/darpa/doc/afs/specs/progint/vvl/vvl-spec.ps>
  2115.        /afs/watson.ibm.com/projects/agora/papers/afs/vvl-spec.ps
  2116.  
  2117.   [23] "AFS User Guide",
  2118.         Transarc Corporation, FS-D200-00.08.3
  2119.  
  2120.   [24] "AFS Commands Reference Manual",
  2121.         Transarc Corporation, FS-D200-00.11.3
  2122.  
  2123.   [25] "AFS Systems Administrators Guide",
  2124.         Transarc Corporation, FS-D200-00.10.3
  2125.  
  2126.   [26] Steven M. Bellovin, Michael Merritt
  2127.        "Limitations of the Kerberos Authentication System",
  2128.        Computer Communications Review, October 1990, Vol 20 #5, pp. 119-132
  2129.        WWW: <ftp://research.att.com/dist/internet_security/kerblimit.usenix.ps>
  2130.        /afs/watson.ibm.com/projects/agora/papers/kerberos/limitations.PS
  2131.  
  2132.   [27] Jennifer G. Steiner, Clifford Neuman, Jeffrey I. Schiller
  2133.        "Kerberos: An Authentication Service for Open Network Systems"
  2134.        WWW: <ftp://athena-dist.mit.edu/pub/kerberos/doc/usenix.PS>
  2135.        WWW: <ftp://athena-dist.mit.edu/pub/kerberos/doc/usenix.txt>
  2136.  
  2137.   [28] Barry Jaspan
  2138.        "Kerberos Users' Frequently Asked Questions"
  2139.        WWW: <ftp://rtfm.mit.edu/pub/usenet/news.answers/kerberos-faq/user>
  2140.  
  2141.   [29] P. Honeyman, L.B. Huston, M.T. Stolarchuk
  2142.        "Hijacking AFS"
  2143.        WWW: <ftp://ftp.sage.usenix.org/pub/usenix/winter92/hijacking-afs.ps.Z>
  2144.  
  2145.   [30] R.N. Sidebotham
  2146.        "Rx: Extended Remote Procedure Call"
  2147.        Proceedings of the Nationwide File System Workshop
  2148.        Information Technology Center, Carnegie Mellon University,
  2149.        (August 1988)
  2150.         
  2151.   [31] R.N. Sidebotham
  2152.        "Volumes: The Andrew File System Data Structuring Primitive"
  2153.        Technical Report CMU-ITC-053, Information Technology Center,
  2154.        Carnegie Mellon University, (August 1986)
  2155.  
  2156.   [32] Cohen, David L. "AFS: NFS on steroids",
  2157.        LAN Technology  March 1993 v9 n3 p51(9)
  2158.        WWW: <file:///afs/ibm.uk/public/doc/AFS:_NFS_on_steroids>
  2159.  
  2160.   [33] Marybeth Schultz "AFS Troubleshooting Tools"
  2161.        Transarc Corporation, January 11 1993, draft document
  2162.        WWW: <ftp://grand.central.org/pub/afsps/doc/trguide/external.afsug.ps>
  2163.  
  2164.   [34] William Stallings "Kerberos Keeps the Enterprise Secure"
  2165.        Data Communications, October 1994, Vol 23 No 14 Page 103
  2166.  
  2167. Subject: 7  Change History
  2168.  
  2169.    1.82 => 1.83 (Mon Aug 15 15:30:00 1994)
  2170.     added: Subject: 0.06  Change History
  2171.     added: Subject: 4.06  Where can I find an archive of info-afs@transarc.com?
  2172.     added: Subject: 4.07  Where can I find an archive of alt.filesystems.afs?
  2173.     updated: throughout
  2174.        changed format of references use WWW URL where appropriate
  2175.        checked references point to existing files
  2176.     updated: Subject: 0.02  Acknowledgements
  2177.        added Michael Fagan and Robert Malick
  2178.  
  2179.    1.83 => 1.84 (Mon Aug 15 15:47:22 1994)
  2180.     updated: Newsgroups header (fixed typo)
  2181.  
  2182.    1.84 => 1.85 (Fri Aug 19 10:30:36 1994)
  2183.     updated: Subject: 1.05.e  Single systems image (SSI)
  2184.        In example, /usr/afsws/etc/pagsh => /usr/afsws/bin/pagsh for AFS 3.3
  2185.     updated: Subject: 1.07  ...Internet AFS filetree?
  2186.        added: pi.infn.it mpa-garching.mpg.de pppl.gov meteo.uni-koeln.de
  2187.               geo.uni-koeln.de utah.edu
  2188.        removed: jrc.flinders.edu.au
  2189.  
  2190.    1.85 => 1.86 (Tue Aug 23 17:16:48 1994)
  2191.     added: Subject: 3.20  How can I list which clients...
  2192.     updated: Subject: 0.02  Acknowledgements
  2193.        added Rainer Toebbicke
  2194.  
  2195.    1.86 => 1.87 (Mon Oct 10 09:30:00 1994)
  2196.     swapped: 0.05 and 0.06
  2197.     updated: 1.07  ...Internet AFS filetree?
  2198.        added: research.ec.org psu.edu
  2199.     added: [32] and [33] to Bibliography
  2200.     added: 2.14  If an AFS server crashes,...
  2201.  
  2202.    1.87 => 1.88 (Mon Oct 10 12:23:00 1994)
  2203.     added: [34] to Bibliography
  2204.  
  2205.    1.88 => 1.89 (Thu Oct 13 14:49:21 1994)
  2206.     updated: 1.06  Which systems is AFS available for?
  2207.        added: Linux
  2208.  
  2209.    1.98 => 1.90 (Thu Oct 13 15:07:54 1994)
  2210.     updated: 2.14  If an AFS server crashes,...
  2211.  
  2212.    1.90 -> 1.91 (Mon Oct 17 08:31:36 1994)
  2213.     updated: Table of contents:
  2214.        moved: Change History out of Preamble to Subject 7
  2215.     updated: 2.14  If an AFS server crashes,...
  2216.     updated: 1.06  Which systems is AFS available for?
  2217.        added: NetBSD
  2218.     added:   2.15  Can I use AFS on my diskless workstation?
  2219.     moved: Change History to the end of the file so that a search from
  2220.            Table of contents will go straight to the Subject and not
  2221.            match on items in the Change History. Also, latest change
  2222.            is described at the end of the file.
  2223.     updated: all URL refs a la minimal-digest-format FAQ
  2224.     updated: 4.04  Where can I find AFS resources in World Wide Web (WWW)?
  2225.        added: c) NCSA AFS User Guide
  2226.     updated: 5.01  How can I get a copy of the AFS faq?
  2227.        added: reference to latest copy via ftp
  2228.     added: Anon ftp source reference to first page. (EFAQTOOBIG? :-)
  2229.  
  2230.    1.91 => 1.92 (Fri Oct 21 12:03:20 1994)
  2231.     added: 2.16  Can I test for AFS tokens from within my program?
  2232.     added: 4.08  Where can I find AFS related GIFs?
  2233.  
  2234.    1.92 => 1.93 (Wed Dec 14 09:22:32 1994)
  2235.     updated: Subject: 0.02  Acknowledgements
  2236.        added: David Snearline
  2237.     updated: Subject: 0.04  Release Notes
  2238.        added ref to changes at end of file
  2239.     updated: Subject: 1.01  What is AFS?
  2240.        added: Transarc homepage URL
  2241.     updated: Subject: 1.05.g  Improved robustness to server crash
  2242.     updated: Subject: 1.07  What does "ls /afs" display
  2243.        removed: test.alw.nih.gov
  2244.        added: afs-math.zib-berlin.de
  2245.     updated: Subject: 3.03  How does AFS compare with NFS?
  2246.        added: bit about some NFS implementations having extra security
  2247.     updated: Subject: 3.12  How can I set up mail delivery...
  2248.        added: ref to beta test version of auth-sendmail
  2249.     updated: Subject: 3.17  Which TCP/IP ports...
  2250.        added: NTP servers URL
  2251.     updated: Subject: 4.03  Where can I get training in AFS?
  2252.        added: Transarc Training URL
  2253.     updated: Subject: 5  About the AFS faq
  2254.        added: some history
  2255.  
  2256.    1.93 => 1.94 (Thu Jan 05 14:01:04 1995)
  2257.     updated: Subject: 5  About the AFS faq
  2258.        added: RFF (Request For Feedback)
  2259.  
  2260.    1.94 => 1.95 (Wed Jan 11 08:42:50 1995)
  2261.     updated: Subject: 0.02  Acknowledgements
  2262.        added: Mic Bowman
  2263.        added: Mike Prince
  2264.     updated: Subject: 1.07 
  2265.        added: cheme.cmu.edu dia.atd.net desy.de ifh.de
  2266.               mathematik-cip.uni-stuttgart.de umr.edu urz.uni-magdeburg.de
  2267.        removed: rel-eng.athena.mit.edu nce nce_psc nsf-centers.edu
  2268.     updated: Subject: 2.14
  2269.        added: bit about ReadWrite volumes
  2270.     added: Subject: 3.21  Do Backup volumes...
  2271.     updated: Subject: 5.01 
  2272.        added: new URL for HTML version of AFS FAQ
  2273.     updated: Subject: 5.03
  2274.        added: new URL for HTML version of AFS FAQ
  2275.  
  2276.    1.95 => 1.96 (Wed Jan 11 16:11:28 1995)
  2277.     updated: Subject: 5.03
  2278.        added: new URL for HTML version of AFS FAQ at Transarc
  2279.  
  2280.    1.96 => 1.97 (Tue Jan 17 15:55:37 GMT 1995)
  2281.     updated: Subject: 3.12  How can I set up mail delivery...
  2282.        now <ftp://grand.central.org/pub/afs-contrib/doc/faq/auth-sendmail.tar.Z>
  2283.     updated: Subject: 4.08  Where can I find AFS related GIFs?
  2284.        changed to: /afs/transarc.com/public/www/Product/AFS/FAQ/images
  2285.     updated: Subject: 5.01 How can I get a copy of the AFS faq?
  2286.        changed wording.
  2287.  
  2288. N  1.97 => 1.98 (Wed Jan 18 13:29:12 GMT 1995)
  2289. N   updated: Subject: 4.01  Is there an anonymous FTP site with AFS information?
  2290. N     changed: cache-update to cache.update
  2291. N   updated: Subject: 4.04  Where can I find AFS resources in World Wide Web?
  2292. N     added: d) Transarc AFS Product Information
  2293. N   updated: Subject: 1.07  What does "ls /afs" display
  2294. N     removed: nce_ctc
  2295. N     added: wu-wien.ac.at
  2296.